August 2010
Intermediate to advanced
1224 pages
34h 17m
English
The automation object model provides a Debugger object that enables you to control the Visual Studio debugger. A Debugger instance can be obtained through the DTE.Debugger property:
![]()
With a valid Debugger object, you can do the following:
• Set breakpoints
• Start and stop the debugger for a given process
• Control the various execution stepping actions supported by the debugger such as Step Into, Step Over, and Step Out
• Issue the Run to Cursor command to the debugger
• Query the debugger for its current mode (for example, break mode, design mode, or run mode)
The following code starts the debugger if it isn’t already started: ...