IDkmClrRuntimeDebugMonitorDirect.GetCorThread Method

Definition

Provides direct access to the ICorDebugThread object, which expression evaluators or other components can use to inspect the app domain.

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::ICorDebugThread ^ GetCorThread(Microsoft::VisualStudio::Debugger::Clr::DkmClrRuntimeInstance ^ clrRuntimeInstance, Microsoft::VisualStudio::Debugger::DkmThread ^ thread);
public Microsoft.VisualStudio.CorDebugInterop.ICorDebugThread GetCorThread (Microsoft.VisualStudio.Debugger.Clr.DkmClrRuntimeInstance clrRuntimeInstance, Microsoft.VisualStudio.Debugger.DkmThread thread);
abstract member GetCorThread : Microsoft.VisualStudio.Debugger.Clr.DkmClrRuntimeInstance * Microsoft.VisualStudio.Debugger.DkmThread -> Microsoft.VisualStudio.CorDebugInterop.ICorDebugThread
Public Function GetCorThread (clrRuntimeInstance As DkmClrRuntimeInstance, thread As DkmThread) As ICorDebugThread

Parameters

clrRuntimeInstance
DkmClrRuntimeInstance

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

thread
DkmThread

[In] DkmThread object that should be mapped to the CorDebug thread.

Returns

[Out] ICorDebug interface representing an app domain inspection.

Applies to