Skip to content

Latest commit

 

History

History
46 lines (39 loc) · 1.19 KB

idebugprogram2-causebreak.md

File metadata and controls

46 lines (39 loc) · 1.19 KB
description title ms.date ms.topic f1_keywords helpviewer_keywords author ms.author manager ms.subservice dev_langs
Requests that the program stop execution the next time one of its threads attempts to run.
IDebugProgram2::CauseBreak
11/04/2016
reference
IDebugProgram2::CauseBreak
IDebugProgram2::CauseBreak
maiak
maiak
mijacobs
debug-diagnostics
CPP
CSharp

IDebugProgram2::CauseBreak

Requests that the program stop execution the next time one of its threads attempts to run.

Syntax

int CauseBreak();
HRESULT CauseBreakvoid 
);

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

An IDebugBreakEvent2 event is sent when the program next attempts to run code after this method is called.

This method is asynchronous in that the method returns immediately without necessarily waiting for the program to stop.

See also