开发者

Windbg issue loading pdb for user defined executable

开发者 https://www.devze.com 2023-02-01 18:16 出处:网络
开发者_开发技巧I have a c++ executable for windows and a minidump that I am trying to analyze using windbg.
开发者_开发技巧

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).

0

精彩评论

暂无评论...
验证码 换一张
取 消