IDebugStopCompleteEvent2

The debug engine (DE) can send this optional event to the session debug manager (SDM) when a program has stopped.

IDebugStopCompleteEvent2 : IUnknown

Notes for Implementers

This is a new interface for Visual Studio 2005. Prior releases did not support asynchronous stopping.

IDebugEngineProgram2::Stop is called by the SDM in multi-process or multi-program scenarios. When one program sends a stopping event to the SDM, the SDM requests other programs to stop, too.

It is used to asynchronously inform the SDM that a program has stopped. This is useful for an interpreter debug engine, where sometimes no code is running inside the debugged program, so IDebugEngineProgram2::Stop can not be completed synchronously. If a debug engine wants to employ this asynchronous notification, it must return S_ASYNC_STOP from IDebugEngineProgram2::Stop.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll