IDataModelScriptDebugStackFrame 接口 (dbgmodel.h)

脚本中堆栈帧的接口。

脚本提供程序实现此接口以公开调用堆栈中特定堆栈帧的概念。

遗产

IDataModelScriptDebugStackFrame 继承自 IUnknown。

方法

IDataModelScriptDebugStackFrame 接口具有这些方法。

 
IDataModelScriptDebugStackFrame::AddRef

IDataModelScriptDebugStackFrame::AddRef 方法递增对象上接口的引用计数。
IDataModelScriptDebugStackFrame::EnumerateArguments

枚举此帧中函数的参数。
IDataModelScriptDebugStackFrame::EnumerateLocals

EnumerateLocals 方法为 IDataModelScriptDebugStackFrame 所表示的堆栈帧上下文中的所有局部变量返回一个变量集。
IDataModelScriptDebugStackFrame::Evaluate

Evaluate 方法在调用此方法的 IDataModelScriptDebugStackFrame 接口所表示的堆栈帧上下文中计算表达式(脚本提供程序的语言)。
IDataModelScriptDebugStackFrame::GetName

GetName 方法返回此帧的显示名称(即函数名称)。 此类名称将显示在调试器界面中向用户显示的堆栈回溯中。
IDataModelScriptDebugStackFrame::GetPosition

GetPosition 方法返回堆栈帧所表示的脚本中的位置。
IDataModelScriptDebugStackFrame::GetTransition

如果给定的堆栈帧是 IsTransition 方法确定的转换点,则 GetTransition 方法将返回有关转换的信息。
IDataModelScriptDebugStackFrame::IsTransitionPoint

IDataModelScriptDebugStack 接口表示调用堆栈的段 -- 调用堆栈的该部分包含在一个脚本的上下文中。
IDataModelScriptDebugStackFrame::QueryInterface

IDataModelScriptDebugStackFrame::QueryInterface 方法检索指向对象上支持的接口的指针。
IDataModelScriptDebugStackFrame::Release

IDataModelScriptDebugStackFrame::Release 方法会递减对象上接口的引用计数。

言论

当闯入脚本调试器时,可以通过调用 IDataModelScriptDebugStack 上的 GetStackFrame 方法来检索调用堆栈的特定帧,该接口表示发生中断的堆栈段。 返回用于表示此帧的 IDataModelScriptDebugStackFrame 接口。

要求

要求 价值
标头 dbgmodel.h

另请参阅

调试器数据模型C++概述