Share via


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: 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

Concepts

ICorDebugChain Interface