IDkmRuntimeStepper.OwnsCurrentExecutionLocation Method

Definition

OwnsCurrentExecutionLocation is called by the stepping manager while it is searching for monitors to perform a step. If the current location in the debuggee is understood by this monitor it can return true here to take control of the step.

public:
 bool OwnsCurrentExecutionLocation(Microsoft::VisualStudio::Debugger::DkmRuntimeInstance ^ runtimeInstance, Microsoft::VisualStudio::Debugger::Stepping::DkmStepper ^ stepper, Microsoft::VisualStudio::Debugger::Stepping::DkmStepArbitrationReason reason);
public bool OwnsCurrentExecutionLocation (Microsoft.VisualStudio.Debugger.DkmRuntimeInstance runtimeInstance, Microsoft.VisualStudio.Debugger.Stepping.DkmStepper stepper, Microsoft.VisualStudio.Debugger.Stepping.DkmStepArbitrationReason reason);
abstract member OwnsCurrentExecutionLocation : Microsoft.VisualStudio.Debugger.DkmRuntimeInstance * Microsoft.VisualStudio.Debugger.Stepping.DkmStepper * Microsoft.VisualStudio.Debugger.Stepping.DkmStepArbitrationReason -> bool
Public Function OwnsCurrentExecutionLocation (runtimeInstance As DkmRuntimeInstance, stepper As DkmStepper, reason As DkmStepArbitrationReason) As Boolean

Parameters

runtimeInstance
DkmRuntimeInstance

[In] The DkmRuntimeInstance class represents an execution environment which is loaded into a DkmProcess and which contains code to be debugged.

stepper
DkmStepper

[In] DkmStepper represents a request to step a thread. It facilitates shared object lifetime between the various runtime debug monitors that participate in stepping.

reason
DkmStepArbitrationReason

[In] DkmStepArbitrationReason the reason step arbitration is occurring.

Returns

[Out] If the runtime instance wants control of the step, it should set this to true. It should be set to false to not take control.

Applies to