共用方式為


IDiaStackWalkFrame

Note

This article applies to Visual Studio 2015. 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

Maintains stack context between invocations of the IDiaFrameData::execute method.

Syntax

IDiaStackWalkFrame : IUnknown  

Methods in Vtable Order

The following table shows the methods of IDiaStackWalkFrame.

Method Description
IDiaStackWalkFrame::get_registerValue Retrieves the value of a register.
IDiaStackWalkFrame::put_registerValue Sets the value of a register.
IDiaStackWalkFrame::readMemory Reads memory from image.
IDiaStackWalkFrame::searchForReturnAddress Searches the specified stack frame for the nearest function return address.
IDiaStackWalkFrame::searchForReturnAddressStart Searches the specified stack frame for a return address at or near the specified address.

Remarks

This interface is used during program execution to read and write registers as well as access memory and find return addresses.

Notes for Callers

The client application implements this interface and passes an instance of the interface to the IDiaFrameData::execute method. The same instance of this interface is used again and again to maintain the state of the registers during each invocation of the execute method. The execute method also uses this interface to determine the return address.

Requirements

Header: Dia2.h

Library: diaguids.lib

DLL: msdia80.dll

See Also

Interfaces (Debug Interface Access SDK)
IDiaFrameData::execute