description | title | ms.date | ms.topic | f1_keywords | helpviewer_keywords | author | ms.author | manager | ms.subservice | ||
---|---|---|---|---|---|---|---|---|---|---|---|
This interface tells the session debug manager (SDM) that an asynchronous break has been successfully completed. |
IDebugBreakEvent2 |
11/04/2016 |
reference |
|
|
maiak |
maiak |
mijacobs |
debug-diagnostics |
This interface tells the session debug manager (SDM) that an asynchronous break has been successfully completed.
IDebugBreakEvent2 : IUnknown
The DE implements this interface to support user breaks in a program. The IDebugEvent2 interface must be implemented on the same object as this interface (the SDM uses QueryInterface to access the IDebugEvent2
interface).
The SDM calls CauseBreak when the user has requested the program being debugged to be paused. When the program has successfully been paused, the DE sends the IDebugBreakEvent2
event. This event is sent by using the IDebugEventCallback2 callback function supplied by the SDM when it attached to the program being debugged.
For example, a user can select the Break All command on the Debug menu to break out of a program that is running an infinite loop. The SDM tells the program to stop by calling CauseBreak. The DE sends IDebugBreakEvent2
when the program finally stops.
Header: msdbg.h
Namespace: Microsoft.VisualStudio.Debugger.Interop
Assembly: Microsoft.VisualStudio.Debugger.Interop.dll