Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 2.09 KB

idebugbreakevent2.md

File metadata and controls

44 lines (34 loc) · 2.09 KB
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
IDebugBreakEvent2
IDebugBreakEvent2 interface
maiak
maiak
mijacobs
debug-diagnostics

IDebugBreakEvent2

This interface tells the session debug manager (SDM) that an asynchronous break has been successfully completed.

Syntax

IDebugBreakEvent2 : IUnknown

Notes for Implementers

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

Notes for Callers

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.

Remarks

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.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also