Export (0) Print
Expand All

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

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 IDebugEventCallback2::Event or IDebugPortEvents2::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

IDebugEvent2::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

Community Additions

ADD
Show:
© 2014 Microsoft