IDkmBaseNativeExecutionController.RaiseExecutionControlException Method

Definition

API which may be called from a IDkmSingleStepCompleteReceived or IDkmRuntimeBreakpointReceived implementation to force the base DM to fire the EXCEPTION_BREAKPOINT or EXCEPTION_SINGLE_STEP exception in the target process when execution is resumed. Normally, the breakpoint or single step exception is implicitly suppressed. This allows the EXCEPTION_BREAKPOINT/EXCEPTION_SINGLE_STEP to be handled by exception handlers within the target process. This API will fail if the thread is not currently sitting at a step complete or breakpoint event.

public:
 void RaiseExecutionControlException(Microsoft::VisualStudio::Debugger::DkmThread ^ thread, System::UInt32 exceptionCode);
public void RaiseExecutionControlException (Microsoft.VisualStudio.Debugger.DkmThread thread, uint exceptionCode);
abstract member RaiseExecutionControlException : Microsoft.VisualStudio.Debugger.DkmThread * uint32 -> unit
Public Sub RaiseExecutionControlException (thread As DkmThread, exceptionCode As UInteger)

Parameters

thread
DkmThread

[In] DkmThread represents a thread running in the target process.

exceptionCode
UInt32

[In] Win32 exception code to raise. Currently, this must be EXCEPTION_BREAKPOINT or EXCEPTION_SINGLE_STEP.

Applies to