ICorDebugChain::GetActiveFrame Method
Gets the active (that is, most recent) frame on the chain.
Syntax
HRESULT GetActiveFrame (
[out] ICorDebugFrame **ppFrame
);
Parameters
ppFrame
[out] A pointer to the address of an ICorDebugFrame object that represents the active (that is, most recent) frame on the chain.
Remarks
If no managed stack frame is available, ppFrame
is set to null.
If the active frame is not available, the call will succeed and ppFrame
will be null. Active frames will not be available for chains initiated due to CHAIN_ENTER_UNMANAGED, and for some chains initiated due to CHAIN_CLASS_INIT. See the CorDebugChainReason enumeration.
Requirements
Platforms: See System Requirements.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET Framework Versions: Available since 1.0
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for