ICorDebugProcess5 Interface

.NET Framework (current version)
 

Extends the ICorDebugProcess interface to support access to the managed heap, to provide information about garbage collection of managed objects, and to determine whether a debugger loads images from the application local native image cache.

MethodDescription
EnableNGenPolicy MethodSets a value that determines how an application loads native images while running under a managed debugger.
EnumerateGCReferences MethodGets an enumerator for all objects that are to be garbage-collected in a process.
EnumerateHandles MethodGets an enumerator for object handles in a process.
EnumerateHeap MethodGets an enumerator for objects on the managed heap.
EnumerateHeapRegions MethodGets an enumerator for regions of the managed heap.
GetArrayLayout MethodGets information about the layout of an array in memory.
GetGCHeapInformation MethodGets a pointer to a COR_HEAPINFO structure that contains information about objects that are to be garbage-collected on the managed heap.
GetObject MethodGets a pointer to an object on the managed heap.
GetTypeFields MethodGets a pointer to an array that contains field information for a type based on its type identifier.
GetTypeForTypeID MethodGets a type object that provides information about an object based on its type identifiers.
GetTypeID MethodGets the type identifier for the object at a specified address.
GetTypeLayout MethodGets information about the layout of an object in memory based on its type identifier.

This interface logically extends the ICorDebugProcess, ICorDebugProcess2, and ICorDebugProcess3 interfaces.

System_CAPS_ICON_note.jpg Note

This interface does not support being called remotely, either from another machine or from another process.

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 4.5

Debugging Interfaces
Debugging

Show: