IDiaStackWalkHelper

 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

For the latest Visual Studio 2017 documentation, see IDiaStackWalkHelper on docs.microsoft.com.

Facilitates walking the stack using the program debug database (.pdb) file.

  
IDiaStackWalkHelper: IUnknown  
  

The table below shows the methods of IDiaStackWalkHelper:

MethodDescription
IDiaStackWalkHelper::get_registerValueRetrieves the value of a register.
IDiaStackWalkHelper::put_registerValueSets the value of a register.
IDiaStackWalkHelper::readMemoryReads a block of data from the executable's image in memory.
IDiaStackWalkHelper::searchForReturnAddressSearches the specified stack frame for the nearest function return address.
IDiaStackWalkHelper::searchForReturnAddressStartSearches the specified stack frame for a return address at or near the specified stack address.
IDiaStackWalkHelper::frameForVARetrieves the stack frame that contains the specified virtual address.
IDiaStackWalkHelper::symbolForVARetrieves the symbol that contains the specified virtual address. Note: Symbol must have the type SymTagFunctionType (a value from the SymTagEnum Enumeration enumeration).
IDiaStackWalkHelper::pdataForVAReturns the PDATA data block associated with the specified virtual address.
IDiaStackWalkHelper::imageForVARetrieves the starting virtual address of an executable, given a virtual address somewhere in the executable's memory space.

This interface is called by the DIA code to obtain information about the executable to construct a list of stack frames during program execution.

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.

Header: Dia2.h

Library: diaguids.lib

DLL: msdia80.dll

Interfaces (Debug Interface Access SDK)
IDiaFrameData
SymTagEnum Enumeration
IDiaStackWalker::getEnumFrames
IDiaStackWalker::getEnumFrames2

Show: