Hit a breakpoint
Applies to: Visual Studio Visual 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
The DE sends an IDebugBreakpointEvent2 interface as an EVENT_SYNC_STOP.
The session debug manager (SDM) calls IDebugBreakpointEvent2:::EnumBreakpoints to get the breakpoint that was hit.