IDebugStopCompleteEvent2

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

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 not 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