Pradyot
Pradyot

Reputation: 3067

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.

Upvotes: 1

Views: 3173

Answers (2)

aaron
aaron

Reputation: 1796

  • !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.

Upvotes: 8

Vikram.exe
Vikram.exe

Reputation: 4585

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

Upvotes: 0

Related Questions