IDiaStackWalkHelper
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
Facilitates walking the stack using the program debug database (.pdb) file.
Syntax
IDiaStackWalkHelper: IUnknown
Methods in VTable Order
The table below shows the methods of IDiaStackWalkHelper
:
Method | Description |
---|---|
IDiaStackWalkHelper::get_registerValue | Retrieves the value of a register. |
IDiaStackWalkHelper::put_registerValue | Sets the value of a register. |
IDiaStackWalkHelper::readMemory | Reads a block of data from the executable's image in memory. |
IDiaStackWalkHelper::searchForReturnAddress | Searches the specified stack frame for the nearest function return address. |
IDiaStackWalkHelper::searchForReturnAddressStart | Searches the specified stack frame for a return address at or near the specified stack address. |
IDiaStackWalkHelper::frameForVA | Retrieves the stack frame that contains the specified virtual address. |
IDiaStackWalkHelper::symbolForVA | Retrieves the symbol that contains the specified virtual address. Note: Symbol must have the type SymTagFunctionType (a value from the SymTagEnum Enumeration enumeration). |
IDiaStackWalkHelper::pdataForVA | Returns the PDATA data block associated with the specified virtual address. |
IDiaStackWalkHelper::imageForVA | Retrieves the starting virtual address of an executable, given a virtual address somewhere in the executable's memory space. |
Remarks
This interface is called by the DIA code to obtain information about the executable to construct a list of stack frames during program execution.
Notes for Callers
A client application implements this interface to support walking the stack during program execution. An instance of this interface is passed to the IDiaStackWalker::getEnumFrames or IDiaStackWalker::getEnumFrames2 methods.
Requirements
Header: Dia2.h
Library: diaguids.lib
DLL: msdia80.dll
See Also
Interfaces (Debug Interface Access SDK)
IDiaFrameData
SymTagEnum Enumeration
IDiaStackWalker::getEnumFrames
IDiaStackWalker::getEnumFrames2