description | title | ms.date | ms.topic | f1_keywords | helpviewer_keywords | author | ms.author | manager | ms.subservice | ||
---|---|---|---|---|---|---|---|---|---|---|---|
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 |
11/04/2016 |
reference |
|
|
maiak |
maiak |
mijacobs |
debug-diagnostics |
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
The debug engine (DE) and custom port supplier implement this interface on the same object as all other event interfaces.
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.
The following table shows the methods of IDebugEvent2
.
Method | Description |
---|---|
GetAttributes | Gets the attributes for this debug event. |
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
.
Header: msdbg.h
Namespace: Microsoft.VisualStudio.Debugger.Interop
Assembly: Microsoft.VisualStudio.Debugger.Interop.dll