ICorDebugNativeFrame::GetIP Method

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

Syntax

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: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 1.0

See also