Share via


IDkmAsyncBreak.AsyncBreak(DkmProcess, Boolean) Method

Definition

This method will tell the debug monitors to asynchronously break execution of the debuggee process. An AsyncBreakComplete event is sent after the operation is complete.

public:
 void AsyncBreak(Microsoft::VisualStudio::Debugger::DkmProcess ^ process, bool stopImmediately);
public void AsyncBreak (Microsoft.VisualStudio.Debugger.DkmProcess process, bool stopImmediately);
abstract member AsyncBreak : Microsoft.VisualStudio.Debugger.DkmProcess * bool -> unit
Public Sub AsyncBreak (process As DkmProcess, stopImmediately As Boolean)

Parameters

process
DkmProcess

[In] DkmProcess represents a target process which is being debugged. The debugger debugs processes, so this is the basic unit of debugging. A DkmProcess can represent a system process or a virtual process such as minidumps.

stopImmediately
Boolean

[In] If this is set to true, implementers should immediately enter break rather than trying to find a thread inside the process that is executing code.

Applies to