Breakpoint errors
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 describes the process when a breakpoint attempts to bind to code but fails.
Troubleshoot a breakpoint error
The debug engine (DE) sends an IDebugBreakpointErrorEvent2 to the session debug manager (SDM).
The SDM calls IDebugBreakpointErrorEvent2::GetErrorBreakpoint (IDebugErrorBreakpoint2**
ppErrorBP
) to get the error breakpoint.The SDM calls IDebugErrorBreakpoint2::GetPendingBreakpoint to get the pending breakpoint from which the error breakpoint originated.
The SDM calls IDebugErrorBreakpoint2::GetBreakpointResolution to get the reason why the error breakpoint failed to bind.