DkmClrRuntimeInstance.GetCorThread(DkmThread) 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.

Location constraint: API must be called from a Monitor component (component level < 100,000).

public:
 Microsoft::VisualStudio::CorDebugInterop::ICorDebugThread ^ GetCorThread(Microsoft::VisualStudio::Debugger::DkmThread ^ Thread);
public Microsoft.VisualStudio.CorDebugInterop.ICorDebugThread GetCorThread (Microsoft.VisualStudio.Debugger.DkmThread Thread);
member this.GetCorThread : Microsoft.VisualStudio.Debugger.DkmThread -> Microsoft.VisualStudio.CorDebugInterop.ICorDebugThread
Public Function GetCorThread (Thread As DkmThread) As ICorDebugThread

Parameters

Thread
DkmThread

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

Returns

[Out] ICorDebug interface representing an app domain inspection.

Applies to