IDkmClrRuntimeDebugMonitorDirect.GetCorThread Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.