Share via


IDkmClrRuntimeDebugMonitorDirect.GetCorProcess(DkmClrRuntimeInstance) Method

Definition

Provides direct access to the ICorDebugProcess object, which expression evaluators or other components can use for inspection.

The returned interface may ONLY be used to inspect the target process, and should NEVER be used to control execution (no stepping, no breakpoints, no continue, etc). Doing so is unsupported and will result in undefined behavior.

public:
 Microsoft::VisualStudio::CorDebugInterop::ICorDebugProcess ^ GetCorProcess(Microsoft::VisualStudio::Debugger::Clr::DkmClrRuntimeInstance ^ clrRuntimeInstance);
public Microsoft.VisualStudio.CorDebugInterop.ICorDebugProcess GetCorProcess (Microsoft.VisualStudio.Debugger.Clr.DkmClrRuntimeInstance clrRuntimeInstance);
abstract member GetCorProcess : Microsoft.VisualStudio.Debugger.Clr.DkmClrRuntimeInstance -> Microsoft.VisualStudio.CorDebugInterop.ICorDebugProcess
Public Function GetCorProcess (clrRuntimeInstance As DkmClrRuntimeInstance) As ICorDebugProcess

Parameters

clrRuntimeInstance
DkmClrRuntimeInstance

[In] Represents a CLR instance running in a target process.

Returns

[Out] ICorDebug interface representing a process.

Applies to