CorDebugMappingResult Enumeration
Provides the details of how the value of the instruction pointer (IP) was obtained.
Syntax
typedef enum CorDebugMappingResult {
MAPPING_PROLOG = 0x1,
MAPPING_EPILOG = 0x2,
MAPPING_NO_INFO = 0x4,
MAPPING_UNMAPPED_ADDRESS = 0x8,
MAPPING_EXACT = 0x10,
MAPPING_APPROXIMATE = 0x20,
} CorDebugMappingResult;
Members
Member | Description |
---|---|
MAPPING_PROLOG |
The native code is in the prolog, so the value of the IP is 0. |
MAPPING_EPILOG |
The native code is in an epilog, so the value of the IP is the address of the last instruction of the method. |
MAPPING_NO_INFO |
No mapping information is available for the method, so the value of the IP is 0. |
MAPPING_UNMAPPED_ADDRESS |
Although there is mapping information for the method, the current address cannot be mapped to common intermediate language (CIL) code. The value of the IP is 0. |
MAPPING_EXACT |
Either the method maps exactly to CIL code or the frame has been interpreted, so the value of the IP is accurate. |
MAPPING_APPROXIMATE |
The method was successfully mapped, but the value of the IP may be approximate. |
Remarks
You can use the ICorDebugILFrame::GetIP method to obtain the value of the instruction pointer.
Requirements
Platforms: See System Requirements.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET Framework Versions: Available since 1.0
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.