ICorDebugExceptionDebugEvent::GetStackPointer Method
Gets the stack pointer for this exception debug event.
Syntax
HRESULT GetStackPointer(
[out]CORDB_ADDRESS *pStackPointer
);
Parameters
pStackPointer
[out] A pointer to the address of the stack pointer for this exception debug event. See the Remarks section for more information.
Remarks
The meaning of this stack pointer depends on the event type, as shown in the following table.
Event type | Meaning of pStackPointer value |
---|---|
MANAGED_EXCEPTION_FIRST_CHANCE | The stack pointer for the frame that threw the exception. |
MANAGED_EXCEPTION_USER_FIRST_CHANCE | The stack pointer for the user-code frame closest to the point of the thrown exception. |
MANAGED_EXCEPTION_CATCH_HANDLER_FOUND | The stack pointer for the frame that contains the catch handler. |
MANAGED_EXCEPTION_UNHANDLED | pStackPointer is null. |
Note
This method is available with .NET Native only.
The event type is available from the ICorDebugDebugEvent::GetEventKind method.
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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.