Partager via


IDebugBreakpointEvent2

The debug engine (DE) sends this interface to the session debug manager (SDM) when a program stops at a breakpoint.

IDebugBreakpointEvent2 : 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 at least one breakpoint is encountered in the program. 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 IDebugBreakpointEvent2.

Method

Description

IDebugBreakpointEvent2::EnumBreakpoints

Creates an enumerator for all the breakpoints that fired at the current code location.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Reference

IDebugEvent2

IDebugEventCallback2