Partager via


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 Interface 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 enumeration.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Reference

ICorDebugChain Interface