다음을 통해 공유


Hitting a Breakpoint

Note

This article applies to Visual Studio 2015. 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 describes the process when the debug engine (DE) hits a breakpoint while running or stepping:

Troubleshooting 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

Calling Debugger Events