Invention Grant
- Patent Title: In-process debugging using external debugging infrastructure
- Patent Title (中): 使用外部调试基础架构进行进程内调试
-
Application No.: US11807246Application Date: 2007-05-25
-
Publication No.: US08239832B2Publication Date: 2012-08-07
- Inventor: J. Michael Stall , Jan Stranik , Richard Byers
- Applicant: J. Michael Stall , Jan Stranik , Richard Byers
- Applicant Address: US WA Redmond
- Assignee: Microsoft Corporation
- Current Assignee: Microsoft Corporation
- Current Assignee Address: US WA Redmond
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F9/45

Abstract:
An in-process debugging experience can be implemented using an infrastructure that supports out-of-process debugging. A program that is to be debugged may be written in a command-line language that receives and processes input through an input loop. The interpreter for the language runs in a first process. A helper program is started in a second process, and attaches to the first process as if it were an out-of-process debugger. A debugging module is loaded into the interpreter, which provides user debugging commands that may utilize the helper program. When the program to be debugged generates a debug event, the event is received by the helper process, which uses a debug primitive to start a new instance of the input loop in the first process. Debugging commands provided by the debugging module can be entered by the user into the new instance of the input loop.
Public/Granted literature
- US20080295078A1 In-process debugging using external debugging infrastructure Public/Granted day:2008-11-27
Information query