次の方法で共有


IDebugBreakpointUnboundEvent2

This interface tells the session debug manager (SDM) that a bound breakpoint has been unbound from a loaded program.

IDebugBreakpointUnboundEvent2 : IUnknown

Notes for Implementers

The debug engine (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 bound breakpoint has been unbound. 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 IDebugBreakpointUnboundEvent2.

Method

Description

IDebugBreakpointUnboundEvent2::GetBreakpoint

Gets the breakpoint that became unbound.

IDebugBreakpointUnboundEvent2::GetReason

Gets the reason the breakpoint was unbound.

Remarks

When a debug engine DLL or class unloads, all breakpoints that were bound to code in that module must be unbound from the program being debugged. An IDebugBreakpointUnboundEvent2 is sent for each unbound breakpoint.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Reference

IDebugEvent2

IDebugBoundBreakpoint2

IDebugEventCallback2