Windbg issue loading pdb for user defined executable
I have a c++ executable for windows and a minidump that I am trying to analyze using windbg. I copied the assosciated pdb and minidump into the same folder and set the symbol path. Windbg however complains DBGHELP: c:\logs\marketdepthserver crashdump\SFMarketDepthServer.pdb - E_PDB_CORRUPT Besides concluding the file is corrupt.. is there anything else I can determine from this or is there a workaround that will allow me to load the pdb.
- !sym noisy : tells you why you failed to load symbols
- .reload /f foo.exe - to force load
- .reload /f /i foo.exe - to force load with mismatched symbols. This may give you some valuable info.
This is not the answer, but this might work for you as well..
I also got this error long time back. I don't know the reason/solution for this, but I remember that I copied both the files (.exe and .pdb) to a new folder and then reloaded symbols (.reload) after specifying the new symbol path (.sympath) and that worked. (Rebuilding was also not working).
精彩评论