IDkmClrRuntimeDebugMonitorDirect.GetCorModule(DkmClrModuleInstance) Method

Definition

Provides direct access to the ICorDebugModule 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::ICorDebugModule ^ GetCorModule(Microsoft::VisualStudio::Debugger::Clr::DkmClrModuleInstance ^ clrModuleInstance);
public Microsoft.VisualStudio.CorDebugInterop.ICorDebugModule GetCorModule (Microsoft.VisualStudio.Debugger.Clr.DkmClrModuleInstance clrModuleInstance);
abstract member GetCorModule : Microsoft.VisualStudio.Debugger.Clr.DkmClrModuleInstance -> Microsoft.VisualStudio.CorDebugInterop.ICorDebugModule
Public Function GetCorModule (clrModuleInstance As DkmClrModuleInstance) As ICorDebugModule

Parameters

clrModuleInstance
DkmClrModuleInstance

[In] 'DkmClrModuleInstance' is used for modules which are loaded into the Common Language Runtime.

Returns

[Out] ICorDebug interface representing an app domain inspection.

Applies to