IDebugStackFrame2

此接口表示在某个调用堆栈的一个堆栈帧在特定线程上。

IDebugStackFrame2 : IUnknown

实现者说明

调试引擎 (DE)实现此接口表示堆栈帧。

调用方的说明

调用 IDebugThread2:: EnumFrameInfo 检索 IEnumDebugFrameInfo2 接口。 调用 IEnumDebugFrameInfo2:: 接下来 检索包含 IDebugStackFrame2 接口的 FRAMEINFO 结构。

方法按 Vtable 顺序

下表显示 IDebugStackFrame2方法。

方法

说明

IDebugStackFrame2:: GetCodeContext

获取堆栈帧的代码上下文。

IDebugStackFrame2:: GetDocumentContext

获取堆栈帧的文档上下文。

IDebugStackFrame2:: GetName

获取堆栈帧的名称。

IDebugStackFrame2:: GetInfo

获取堆栈帧的说明。

IDebugStackFrame2:: GetPhysicalStackRange

获取物理地址范围的计算机相关的表示形式与堆栈帧。

IDebugStackFrame2:: GetExpressionContext

获取用于执行的表达式计算一次计算上下文堆栈帧和线程的当前上下文中。

IDebugStackFrame2:: GetLanguageInfo

获取该语言与堆栈帧。

IDebugStackFrame2:: GetDebugProperty

获取特性的声明与堆栈帧。

IDebugStackFrame2:: EnumProperties

创建堆栈帧属性的枚举数。

IDebugStackFrame2:: GetThread

获取线程与堆栈帧。

备注

此接口来获得,仅当正在调试的程序终止了在断点上时 (生成由用户设置的断点或异常)。 从该接口,表达式上下文可以获取计算表达式,注册该列表可返回,或者调用堆栈来获取、选中。

要求

标题:msdbg.h

命名空间:Microsoft.VisualStudio.Debugger.Interop

程序集:Microsoft.VisualStudio.Debugger.Interop.dll

请参见

概念

核心接口