IDebugHostFunctionLocalDetails2 接口 (dbgmodel.h)

主机可选接口的版本 2,提供有关函数局部变量的详细信息。

此版本 2 的接口支持具有相同签名的所有以前的方法,并包括提供新增功能的其他新方法。 新方法列在该接口的节末尾的标头中。

遗产

IDebugHostFunctionLocalDetails2 继承自 IDebugHostFunctionLocalDetails。

方法

IDebugHostFunctionLocalDetails2 接口具有这些方法。

 
IDebugHostFunctionLocalDetails2::AddRef

AddRef 方法递增对象的引用计数。
IDebugHostFunctionLocalDetails2::EnumerateStorage

EnumerateStorage 方法枚举本地变量的存储,包括它可能位于函数中的寄存器或内存位置。
IDebugHostFunctionLocalDetails2::GetArgumentPosition

GetArgumentPosition 方法获取参数列表中函数参数的位置。
IDebugHostFunctionLocalDetails2::GetInlinedFunction

如果 IsInlineScope() 返回 true,GetInlinedFunction 方法将检索内联函数的内联函数的符号。如果 IsInlineScope() 返回 true,
IDebugHostFunctionLocalDetails2::GetLocalKind

GetLocalKind 方法检索已枚举的局部变量的类型。
IDebugHostFunctionLocalDetails2::GetName

GetName 方法检索局部变量的名称。
IDebugHostFunctionLocalDetails2::GetType

GetType 方法检索局部变量的类型。
IDebugHostFunctionLocalDetails2::IsInlineScope

IsInlineScope 方法确定局部变量是否在内联函数范围内。
IDebugHostFunctionLocalDetails2::QueryInterface

QueryInterface 方法查询对象上的特定接口。
IDebugHostFunctionLocalDetails2::Release

Release 方法释放对函数本地详细信息对象的引用。

要求

要求 价值
标头 dbgmodel.h

另请参阅

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