共用方式為


IDebugStackFrame2::GetDebugProperty

取得堆疊框架的屬性描述。

HRESULT GetDebugProperty ( 
   IDebugProperty2** ppDebugProp
);
int GetDebugProperty ( 
   out IDebugProperty2 ppDebugProp
);

參數

  • ppDebugProp
    [] out傳回IDebugProperty2物件,描述此堆疊框架的內容。

傳回值

如果成功的話,會傳回S_OK。 否則,會傳回錯誤碼。

備註

呼叫IDebugProperty2::EnumChildren與適當的篩選器的方法可以擷取區域變數、 方法參數、 暫存器和堆疊框架相關聯"this"指標。

請參閱

參考

IDebugStackFrame2

IDebugProperty2