Helper class for the getStackDump() function. More...
Public Member Functions | |
DumpStackWalker (bool includeModules) | |
Constructor. More... | |
void | OnOutput (LPCSTR szText) override |
Overloaded function that deals with stqack dump information as it comes in. More... | |
![]() | |
BOOL | LoadModules () |
void | ShowCallstack () |
BOOL | ShowCallstack (HANDLE hThread=GetCurrentThread(), const CONTEXT *context=NULL, PReadProcessMemoryRoutine readMemoryFunction=NULL, LPVOID pUserData=NULL) |
StackWalker () | |
StackWalker (DWORD dwProcessId, HANDLE hProcess) | |
StackWalker (int options=(int) OptionsAll, LPCSTR szSymPath=NULL, DWORD dwProcessId=GetCurrentProcessId(), HANDLE hProcess=GetCurrentProcess()) | |
virtual | ~StackWalker () |
virtual | ~StackWalker () |
Public Attributes | |
bool | m_outputStarted |
std::string | m_string |
Storage for the stack dump while it's being created. More... | |
Additional Inherited Members | |
![]() | |
typedef BOOL(__stdcall * | PReadProcessMemoryRoutine) (HANDLE hProcess, DWORD64 qwBaseAddress, PVOID lpBuffer, DWORD nSize, LPDWORD lpNumberOfBytesRead, LPVOID pUserData) |
enum | StackWalkOptions { RetrieveNone = 0, RetrieveSymbol = 1, RetrieveLine = 2, RetrieveModuleInfo = 4, RetrieveFileVersion = 8, RetrieveVerbose = 0xF, SymBuildPath = 0x10, SymUseSymSrv = 0x20, SymAll = 0x30, OptionsAll = 0x3F } |
![]() | |
enum | { STACKWALK_MAX_NAMELEN = 1024 } |
enum | CallstackEntryType { firstEntry, nextEntry, lastEntry } |
![]() | |
virtual void | OnCallstackEntry (CallstackEntryType eType, CallstackEntry &entry) |
virtual void | OnDbgHelpErr (LPCSTR szFuncName, DWORD gle, DWORD64 addr) |
virtual void | OnLoadModule (LPCSTR img, LPCSTR mod, DWORD64 baseAddr, DWORD size, DWORD result, LPCSTR symType, LPCSTR pdbName, ULONGLONG fileVersion) |
virtual void | OnSymInit (LPCSTR szSearchPath, DWORD symOptions, LPCSTR szUserName) |
StackWalker & | operator= (StackWalker const &)=delete |
StackWalker (StackWalker const &)=delete | |
![]() | |
static BOOL __stdcall | myReadProcMem (HANDLE hProcess, DWORD64 qwBaseAddress, PVOID lpBuffer, DWORD nSize, LPDWORD lpNumberOfBytesRead) |
![]() | |
DWORD | m_dwProcessId |
HANDLE | m_hProcess |
BOOL | m_modulesLoaded |
int | m_options |
StackWalkerInternal * | m_sw |
LPSTR | m_szSymPath |
friend | StackWalkerInternal |
Helper class for the getStackDump() function.
Definition at line 76 of file stackdumper.cpp.
|
inline |
Constructor.
Definition at line 80 of file stackdumper.cpp.
|
inlineoverridevirtual |
Overloaded function that deals with stqack dump information as it comes in.
Reimplemented from StackWalker.
Definition at line 91 of file stackdumper.cpp.
bool DumpStackWalker::m_outputStarted |
Definition at line 88 of file stackdumper.cpp.
std::string DumpStackWalker::m_string |
Storage for the stack dump while it's being created.
Definition at line 87 of file stackdumper.cpp.