Condividi tramite


IEnumDebugFrameInfo2

This interface enumerates FRAMEINFO structures.

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

IEnumDebugFrameInfo2::Next

Retrieves a specified number of FRAMEINFO structures in an enumeration sequence.

IEnumDebugFrameInfo2::Skip

Skips a specified number of FRAMEINFO structures in an enumeration sequence.

IEnumDebugFrameInfo2::Reset

Resets an enumeration sequence to the beginning.

IEnumDebugFrameInfo2::Clone

Creates an enumerator that contains the same enumeration state as the current enumerator.

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

Reference

IDebugThread2::EnumFrameInfo

FRAMEINFO

Concepts

Core Interfaces