简体   繁体   中英

Debugging the C crash dump on Windows x64

There is a crash dump (FULL dump created by setting LocalDump registry key as explained here ) that got created on a Windows x64 2008 R2 machine and I am able to debug this dump file using VS 2010 on the same machine (can load symbols for my modules, see modules, function names in stack trace, see code after selecting source files) but when I copy this dump, necessary EXEs, DLLS and their PDBs and the source files to a different Windows x64 2008 R2 machine the VS 2010 can not see the module names and function names in the Call Stack window(can load symbols for my modules though). I am wondering what step I am missing here. Please help.

Are the same exe and the corresponding pdb used which caused the crash? I mean you can't recompile the same code and use the pdb and exe. You need to have the exe which caused the crash and its corresponding pdb

Use Windbg from the Debugging Tools for Windows. Use the !sym noisy command in Windbg to show detailed information about the exe and dll images. This will show you where it can't find the correct pdbs and highlight cases where the pdb doesn't match. Also check that you have the same symbol paths set up on both machines.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM