ICorDebugChain::GetActiveFrame Method
Gets the active (that is, most recent) frame on the chain.
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 .NET Framework System Requirements.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0