Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets an HRESULT that indicates whether it is safe to set the instruction pointer (IP) to the specified offset location in native code.
HRESULT CanSetIP (
[in] ULONG32 nOffset
);
Parameters
- nOffset
[in] The desired setting for the instruction pointer.
Remarks
Use the CanSetIP method prior to calling the ICorDebugNativeFrame::SetIP method. If CanSetIP returns any HRESULT other than S_OK, you can still invoke ICorDebugNativeFrame::SetIP, but there is no guarantee that the debugger will continue the safe and correct execution of the code being debugged.
Requirements
Platforms: See .NET Framework System Requirements.
Header: CorDebug.idl
Library: CorGuids.lib
.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0