This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, use the version selector at the top left. We recommend upgrading to Visual Studio 2019. Download it here
This interface is used by the debug engine (DE) to send debug events to the session debug manager (SDM).
IDebugEventCallback2 : IUnknown
Notes for Implementers
Visual Studio implements this interface to receive events from a debug engine.
Notes for Callers
Methods in Vtable Order
The following table shows the methods of
|Event||Sends notification of debugging events to the SDM.|
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.