IDebugStackFrame2
This interface represents a single stack frame in a call stack in a particular thread.
IDebugStackFrame2 : IUnknown
Notes for Implementers
The debug engine (DE) implements this interface to represent a stack frame.
Notes for Callers
Call IDebugThread2::EnumFrameInfo to retrieve an IEnumDebugFrameInfo2 interface. Call IEnumDebugFrameInfo2::Next to retrieve a FRAMEINFO structure that contains the IDebugStackFrame2 interface.
Methods in Vtable Order
The following table shows the methods of IDebugStackFrame2.
Method |
Description |
---|---|
Gets the code context for this stack frame. |
|
Gets the document context for this stack frame. |
|
Gets the name of the stack frame. |
|
Gets a description of the stack frame. |
|
Gets a machine-dependent representation of the range of physical addresses associated with a stack frame. |
|
Gets an evaluation context for doing expression evaluation within the current context of a stack frame and thread. |
|
Gets the language associated with a stack frame. |
|
Gets a description of the properties associated with a stack frame. |
|
Creates an enumerator for stack frame properties. |
|
Gets the thread associated with a stack frame. |
Remarks
This interface is obtained only when the program being debugged has been stopped at a breakpoint (either caused by a user-set breakpoint or an exception). From this interface, an expression context can be obtained to evaluate expressions, a list of registers can be returned, or the call stack can be obtained and examined.
Requirements
Header: msdbg.h
Namespace: Microsoft.VisualStudio.Debugger.Interop
Assembly: Microsoft.VisualStudio.Debugger.Interop.dll