Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
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 .NET supported operating systems.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET versions: Available since .NET Framework 1.0
Cộng tác với chúng tôi trên GitHub
Bạn có thể tìm thấy nguồn cho nội dung này trên GitHub, nơi bạn cũng có thể tạo và xem lại các vấn đề và yêu cầu kéo. Để biết thêm thông tin, hãy xem hướng dẫn dành cho người đóng góp của chúng tôi.