Debugger Objects

The automation object model provides a Debugger object that enables you to control the Visual Studio debugger. You can obtain a Debugger instance through the DTE.Debugger property.

Dim debugger As EnvDTE.Debuggerdebugger = DTE.Debugger

With a valid Debugger object, you can do the following:

Image Set breakpoints

Image Start and stop the debugger for a given process

Image Control the various execution stepping actions ...

Get Microsoft Visual Studio 2015 Unleashed, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.