Share via


When a breakpoint binds or becomes unbound

Applies to: yesVisual Studio noVisual 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:

  1. IDebugEngine2::CreatePendingBreakpoint. The DE returns an IDebugPendingBreakpoint2.

  2. IDebugPendingBreakpoint2::Enable.

  3. IDebugPendingBreakpoint2::Virtualize.

  4. The IDebugPendingBreakpoint2::Bind method and returns S_OK. The DE sends an IDebugBreakpointBoundEvent2 or IDebugBreakpointErrorEvent2.

  5. IDebugBreakpointBoundEvent2::GetPendingBreakpoint and IDebugBreakpointBoundEvent2::EnumBoundBreakpoints methods to verify and to get the bound breakpoints.

See also