ICorDebugProcess5 Interface
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.
Methods
Method | Description |
---|---|
EnableNGenPolicy Method | Sets a value that determines how an application loads native images while running under a managed debugger. |
EnumerateGCReferences Method | Gets an enumerator for all objects that are to be garbage-collected in a process. |
EnumerateHandles Method | Gets an enumerator for object handles in a process. |
EnumerateHeap Method | Gets an enumerator for objects on the managed heap. |
EnumerateHeapRegions Method | Gets an enumerator for regions of the managed heap. |
GetArrayLayout Method | Gets information about the layout of an array in memory. |
GetGCHeapInformation Method | Gets a pointer to a COR_HEAPINFO structure that contains information about objects that are to be garbage-collected on the managed heap. |
GetObject Method | Gets a pointer to an object on the managed heap. |
GetTypeFields Method | Gets a pointer to an array that contains field information for a type based on its type identifier. |
GetTypeForTypeID Method | Gets a type object that provides information about an object based on its type identifiers. |
GetTypeID Method | Gets the type identifier for the object at a specified address. |
GetTypeLayout Method | Gets information about the layout of an object in memory based on its type identifier. |
Remarks
This interface logically extends the ICorDebugProcess, ICorDebugProcess2, and ICorDebugProcess3 interfaces.
Note
This interface does not support being called remotely, either from another machine or from another process.
Requirements
Platforms: See System Requirements.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET Framework Versions: Available since 4.5
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.