ICorDebugChain::EnumerateFrames Method

Gets an enumerator that contains all the managed stack frames in the chain, starting with the most recent frame.

HRESULT EnumerateFrames (
    [out] ICorDebugFrameEnum **ppFrames
);

Parameters

  • ppFrames
    [out] A pointer to the address of an ICorDebugFrameEnum object that is the enumerator for the stack frames.

Remarks

The chain represents the physical call stack for the thread.

The EnumerateFrames method should be called only for managed chains. The debugging API does not provide methods for obtaining frames contained in unmanaged chains. The debugger must use other means to obtain this information.

Requirements

Platforms: See .NET Framework System Requirements.

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

See Also

Reference

ICorDebugChain Interface