Hitting a Breakpoint
The following describes the process when the debug engine (DE) hits a breakpoint while running or stepping:
Troubleshooting 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.