ICorDebugILFrame::GetIP Method
Gets the value of the instruction pointer and a bitwise combination value that describes how the value of the instruction pointer was obtained.
HRESULT GetIP (
[out] ULONG32 *pnOffset,
[out] CorDebugMappingResult *pMappingResult
);
Parameters
pnOffset
[out] The value of the instruction pointer.pMappingResult
[out] A pointer to a bitwise combination of the CorDebugMappingResult enumeration values that describe how the value of the instruction pointer was obtained.
Remarks
The value of the instruction pointer is the stack frame's offset into the function's Microsoft intermediate language (MSIL) code. If the stack frame is active, this address is the next instruction to execute. If the stack frame is not active, this address is the next instruction to execute when the stack frame is reactivated.
If this frame is a just-in-time (JIT) compiled frame, the value of the instruction pointer will be determined by mapping backwards from the actual native instruction pointer, so the value may be only approximate.
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