The SetPC method of the IRemoteStackFrame interface sets the bytecode offset from the start of the method executing in this stack frame of the next instruction to be executed.
HRESULT SetPC(ULONG offPC)
[in] offPC | Sets the bytecode offset of the next instruction to be executed. |
S_OK Success.
E_BADMETHOD The method fails bytecode verification.
E_FAIL Failure.
E_INVALIDPC The PC cannot be set to the given bytecode offset.
E_NODEBUGINFORMATION There is no source line mapping information for this method.
E_NOLONGERVALID The underlying stack frame is no longer valid.
E_OUTOFMEMORY Insufficient memory.