Share via


When a Breakpoint Binds or Becomes Unbound

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

When a breakpoint cannot 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

Calling Debugger Events