ICorDebugExceptionDebugEvent::GetNativeIP Method
Gets the native instruction pointer for this exception debug event.
Syntax
HRESULT GetNativeIP(
[out]CORDB_ADDRESS *pIP
);
Parameters
pIP
[out] A pointer to the instruction pointer for this exception debug event. See the Remarks section for more information.
Remarks
The meaning of this instruction pointer depends on the event type, as shown in the following table.
Event type | Meaning of pStackPointer value |
---|---|
MANAGED_EXCEPTION_FIRST_CHANCE | The address of the faulting instruction. |
MANAGED_EXCEPTION_USER_FIRST_CHANCE | The code address in the frame indicated by the GetStackPointer method where execution would resume if no exception had been raised. The exception may or may not cause different code, such as the catch block of a try/catch/finally clause, to be executed in this frame. |
MANAGED_EXCEPTION_CATCH_HANDLER_FOUND | The code address where catch handler execution will start in the frame indicated by the GetStackPointer method. |
MANAGED_EXCEPTION_UNHANDLED | pIP is 0. |
The event type is available from the ICorDebugDebugEvent::GetEventKind method.
Note
This method is available with .NET Native only.
Requirements
Platforms: See System Requirements.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET Framework Versions: Available since 4.6, .NET Native only
See also
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.