Microsoft SDK for Java

IRemoteStackFrameEx::
GetRealPC

The GetRealPC method of the IRemoteStackFrameEx interface returns the bytecode offset of the next instruction to be executed, beginning from the method executing in this stack frame. In non-topmost stack frames, GetPC returns the bytecode offset of the return location, not the bytecode offset of the invoke instruction that is being executed.

Syntax

HRESULT GetRealPC(ULONG *offPC)

Parameters

[out] *offPC Returns the instruction’s bytecode offset.

Return Value

S_OK Success. 

E_FAIL Failure.

E_NOLONGERVALID The underlying stack frame is no longer valid.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.