다음을 통해 공유


IDebugEvent2

Note

This article applies to Visual Studio 2015. 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 is used to communicate both critical debug information, such as stopping at a breakpoint, and non-critical information, such as a debugging message.

Syntax

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 Event or 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
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

Core Interfaces
Event
Event