ICorDebugChain::EnumerateFrames Method

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

Syntax

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 System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 1.0