Compartir a través de


IEnumDebugFrameInfo2

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

This interface enumerates FRAMEINFO structures.

Syntax

IEnumDebugFrameInfo2 : IUnknown

Notes for Implementers

The debug engine (DE) implements this interface to provide a list of structures that describes the current call stack.

Notes for Callers

Visual Studio calls EnumFrameInfo to obtain this interface whenever a breakpoint, exception, or halt occurs in a program being debugged.

Methods in Vtable Order

The following table shows the methods of IEnumDebugFrameInfo2.

Method Description
Next Retrieves a specified number of FRAMEINFO structures in an enumeration sequence.
Skip Skips a specified number of FRAMEINFO structures in an enumeration sequence.
Reset Resets an enumeration sequence to the beginning.
Clone Creates an enumerator that contains the same enumeration state as the current enumerator.
GetCount Gets the number of FRAMEINFO structures in an enumerator.

Remarks

Visual Studio obtains this interface as the first step to handling a breakpoint, exception, or user-generated pause on the program being debugged. The list of FRAMEINFO structures represents the current call stack, with the current function call at the beginning of the list and the oldest function call at the end of the list. Each FRAMEINFO represents a stack frame, a context in which expressions can be evaluated and local variables looked at.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also