Share via


IDebugBreakpointBoundEvent2

This interface tells the session debug manager (SDM) that a pending breakpoint has been successfully bound to a loaded program.

IDebugBreakpointBoundEvent2 : IUnknown

Notes for Implementers

The DE implements this interface as part of its support for breakpoints. The IDebugEvent2 interface must be implemented on the same object as this interface (the SDM uses QueryInterface to access the IDebugEvent2 interface).

Notes for Callers

The DE creates and sends this event object when a pending breakpoint is successfully bound to the program being debugged. The event is sent by using the IDebugEventCallback2 callback function supplied by the SDM when it attached to the program being debugged.

Methods in Vtable Order

The following table shows the methods of IDebugBreakpointBoundEvent2.

Method

Description

IDebugBreakpointBoundEvent2::GetPendingBreakpoint

Gets the pending breakpoint that is being bound.

IDebugBreakpointBoundEvent2::EnumBoundBreakpoints

Creates an enumerator of breakpoints that were bound on this event.

Remarks

Whenever a breakpoint is bound, an event is sent to the SDM. If the breakpoint cannot be bound, an IDebugBreakpointErrorEvent2 is sent; otherwise, an IDebugBreakpointBoundEvent2 is sent.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Reference

IDebugEvent2

IDebugPendingBreakpoint2

IDebugEventCallback2

IDebugBreakpointErrorEvent2