Table of Contents

Class CLRDebugging

Namespace
Microsoft.Samples.Debugging.CorDebug
Assembly
corapi.dll

Wrapper for the ICLRDebugging shim interface. This interface exposes the native pipeline architecture startup APIs

public sealed class CLRDebugging
Inheritance
CLRDebugging

Constructors

CLRDebugging()

Constructor

Methods

CanUnloadNow(IntPtr)

Determines if the module is no longer in use

OpenVirtualProcess(ulong, ICorDebugDataTarget, ICLRDebuggingLibraryProvider, Version, out Version, out ClrDebuggingProcessFlags)

Detects if a native module represents a CLR and if so provides the debugging interface and versioning information

TryOpenVirtualProcess(ulong, ICorDebugDataTarget, ICLRDebuggingLibraryProvider, Version, out Version, out ClrDebuggingProcessFlags, out CorProcess)

Version of the above that doesn't throw exceptions on failure