description | title | ms.date | ms.topic | f1_keywords | helpviewer_keywords | author | ms.author | manager | ms.subservice | ||
---|---|---|---|---|---|---|---|---|---|---|---|
This interface enumerates FRAMEINFO structures. |
IEnumDebugFrameInfo2 |
11/04/2016 |
reference |
|
|
maiak |
maiak |
mijacobs |
debug-diagnostics |
This interface enumerates FRAMEINFO structures.
IEnumDebugFrameInfo2 : IUnknown
The debug engine (DE) implements this interface to provide a list of structures that describes the current call stack.
Visual Studio calls EnumFrameInfo to obtain this interface whenever a breakpoint, exception, or halt occurs in a program being debugged.
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. |
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.
Header: msdbg.h
Namespace: Microsoft.VisualStudio.Debugger.Interop
Assembly: Microsoft.VisualStudio.Debugger.Interop.dll