Share via


Hit a breakpoint

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

The following section describes the process when the debug engine (DE) hits a breakpoint while running or stepping:

Troubleshoot a hit breakpoint

  1. The DE sends an IDebugBreakpointEvent2 interface as an EVENT_SYNC_STOP.

  2. The session debug manager (SDM) calls IDebugBreakpointEvent2:::EnumBreakpoints to get the breakpoint that was hit.

See also