Table of Contents

Class CorModule

Namespace
Microsoft.Samples.Debugging.CorDebug
Assembly
corapi.dll
public sealed class CorModule : WrapperBase
Inheritance
CorModule

Properties

Assembly
BaseAddress
IsDynamic
IsInMemory
JITCompilerFlags
Name
Process
Raw
Size
SupportsCreateReaderForInMemorySymbols

Explicit API to check whether the CreateReaderForInMemorySymbols APIs are supported. We still want to work with older versions of ICorDebug and even newer versions may not support this API when debugging an older CLR.

Token

Methods

ApplyChanges(byte[], byte[])
CreateBreakpoint()
CreateReaderForInMemorySymbols()

Typeless version of CreateReaderForInMemorySymbols, useful for when the type of interface to be used is not yet known. Also fails gracefully (returns null) if this API is not supported.

CreateReaderForInMemorySymbols(Guid)

ICorDebugModule3::CreateReaderForInMemorySymbols

CreateReaderForInMemorySymbols<T>()

Typesafe wrapper around CreateReaderForInMemorySymbols.

EnableClassLoadCallbacks(bool)
EnableJitDebugging(bool, bool)
GetClassFromToken(int)
GetFunctionFromToken(int)
GetGlobalVariableValue(int)
GetMetaDataInterface(Guid)
GetMetaDataInterface<T>()

Typesafe wrapper around GetMetaDataInterface.

ResolveAssembly(int)
SetJmcStatus(bool, int[])