ICorDebugNativeFrame::GetIP Method

Gets the native code offset location to which the instruction pointer is currently set.

HRESULT GetIP (
    [out] ULONG32           *pnOffset
);

Parameters

  • pnOffset
    [out] A pointer to the offset location in the native code.

Remarks

If the stack frame that is represented by this ICorDebugNativeFrame is active, the offset is the address of the next instruction to be executed. If this stack frame is not active, the offset is the address of the next instruction to be executed when the stack frame is reactivated.

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

ICorDebugNativeFrame Interface