次の方法で共有


IDebugStackFrame2::GetDebugProperty

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Gets a description of the properties of a stack frame.

Syntax

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

Parameters

ppDebugProp
[out] Returns an IDebugProperty2 object that describes the properties of this stack frame.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

Calling the EnumChildren method with appropriate filters can retrieve the local variables, method parameters, registers, and "this" pointer associated with the stack frame.

See also