Share via


IDebugBreakpointUnboundEvent2

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

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

Syntax

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
GetBreakpoint Gets the breakpoint that became unbound.
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