DXCore Services – Debugger
October 6th, 2010
The Debugger service provides access to the Visual Studio debugger and its current mode properties.
Methods:
Name |
Description |
Break | Causes the current process to pause its execution. This method waits for the debugger to enter break mode before returning. |
Break(Boolean) | Causes the current process to pause its execution. Takes a boolean parameter which specifies whether this method should wait for the debugger to enter break mode before returning or return immediately. |
DetachAll | Detaches the debugger from all attached programs. |
Properties:
Name |
Description |
ActiveMode | Active debugger mode (break, design or run). |
ActiveProcess | Active process object of EnvDTE.Process type. |
ActiveProgram | Active program object of EnvDTE.Program type. |
ActiveStackFrame | Active stack frame of EnvDTE.StackFrame type. |
ActiveThread | Active thread of EnvDTE.Thread type. |
IsBreakMode | Returns true if the debugger is in break mode. |
InDesignMode | Returns true if the debugger is in design mode. |
InRunMode | Returns true if the debugger is in run mode. |