When a breakpoint binds or becomes unbound
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
When a breakpoint can't be bound at the time a call is made to the IDebugPendingBreakpoint2::CanBind method, the bind time and create time of the breakpoint are different.
Methods called
The session debug manager (SDM) calls the following methods:
IDebugEngine2::CreatePendingBreakpoint. The DE returns an IDebugPendingBreakpoint2.
The IDebugPendingBreakpoint2::Bind method and returns S_OK. The DE sends an IDebugBreakpointBoundEvent2 or IDebugBreakpointErrorEvent2.
IDebugBreakpointBoundEvent2::GetPendingBreakpoint and IDebugBreakpointBoundEvent2::EnumBoundBreakpoints methods to verify and to get the bound breakpoints.