Share via


Call debugger events

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Events in debugging sessions occur in a specific order.

Discussion

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

See also