Calling Debugger Events

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Calling Debugger Events.

Events in debugging sessions occur in a specific order.

To understand the pattern of calls between the debug engine (DE) and the session debug manager (SDM), the following represents the calling order of the events that occur in a typical debugging session:

  1. Attaching and detaching to a program

  2. Launching the debugger

  3. Terminating a program

  4. Creating a breakpoint

  5. When a breakpoint binds or becoming unbound

  6. Breakpoint errors

  7. Hitting a breakpoint

  8. Deleting a breakpoint

  9. Entering break mode

  10. Stepping in break mode

  11. Expression evaluation in break mode

  12. Exception handling

Creating a Custom Debug Engine

Show: