Muokkaa

Jaa


IDebugStopCompleteEvent2

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

Syntax

IDebugStopCompleteEvent2 : IUnknown

Notes for Implementers

This interface was introduced with Visual Studio 2005. Prior releases did not support asynchronous stopping.

  • 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.

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

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll