Share via


CorDebugMappingResult Enumeration

Provides the details of how the value of the instruction pointer (IP) was obtained.

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 Microsoft intermediate language (MSIL) code. The value of the IP is 0.

MAPPING_EXACT

Either the method maps exactly to MSIL 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: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Concepts

Debugging Enumerations