I built test.exe which will crash and generate .dmp file using MinidumpWriteDump, and parser.exe is used to read and print information from that dmp file.
In parser.exe I use StackWalk64 to get all stack traces of all threads in that dmp file. But now I found that I can only get less stacks than that visual studio did.
I've tried all solutions I could find in google、stackoverflow、codeproject, nothing changed.
The following is what parser.exe do:
- SymInitialize
- MiniDumpReadDumpStream to read all information
- SymLoadModuleEx & SymFindFileInPath to load pdb/exe/dll specified in .dmp file
- Initialize STACKFRAME64 and call StackWalk64 in loop.
I want to know how to get the same count of stack as visual studio. I could paste more code here if needed. Any help will be appreciated.