Compartilhar via


IDebugEvent2

This interface is used to communicate both critical debug information, such as stopping at a breakpoint, and non-critical information, such as a debugging message.

IDebugEvent2 : IUnknown

Notes for Implementers

The debug engine (DE) and custom port supplier implement this interface on the same object as all other event interfaces.

Notes for Callers

Using the interface ID (IID) argument given to IDebugEventCallback2::Event or IDebugPortEvents2::Event, the session debug manager (SDM) calls QueryInterface on the IDebugEvent2 interface to obtain the appropriate event interface.

Methods in Vtable Order

The following table shows the methods of IDebugEvent2.

Method

Description

IDebugEvent2::GetAttributes

Gets the attributes for this debug event.

Remarks

The more specific event interfaces, such as IDebugBreakpointEvent2, do not derive from the IDebugEvent2 interface but are instead implemented as a separate interface on the same object as IDebugEvent2.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Reference

IDebugPortEvents2::Event

IDebugEventCallback2::Event

Concepts

Core Interfaces