Skip to content

Latest commit

 

History

History
54 lines (41 loc) · 2.91 KB

idebugeventcallback2.md

File metadata and controls

54 lines (41 loc) · 2.91 KB
description title ms.date ms.topic f1_keywords helpviewer_keywords author ms.author manager ms.subservice
This interface is used by the debug engine (DE) to send debug events to the session debug manager (SDM).
IDebugEventCallback2
11/04/2016
reference
IDebugEventCallback2
IDebugEventCallback2
maiak
maiak
mijacobs
debug-diagnostics

IDebugEventCallback2

This interface is used by the debug engine (DE) to send debug events to the session debug manager (SDM).

Syntax

IDebugEventCallback2 : IUnknown

Notes for Implementers

Visual Studio implements this interface to receive events from a debug engine.

Notes for Callers

A debug engine typically receives this interface when the SDM calls Attach, Attach, or LaunchSuspended. A debug engine sends events to the SDM by calling Event.

Methods in Vtable Order

The following table shows the methods of IDebugEventCallback2.

Method Description
Event Sends notification of debugging events to the SDM.

Remarks

Although EvaluateSync and EvaluateAsync specify that they take an IDebugEventCallback2 interface, this is not the case, and the interface pointer will always be a null value. Instead, the debug engine must use the IDebugEventCallback2 interface received in the call to Attach, Attach, or LaunchSuspended.

If a package implements IDebugEventCallback in managed code, it is strongly advised that xref:System.Runtime.InteropServices.Marshal.ReleaseComObject%2A be invoked on the various interfaces that are passed to Event.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also