Symbol Path Not Found in windbg

1.2k Views Asked by At

I have set the path as

srv*C:\Users\swpapati\Desktop\admintool_crash\pdbs*http://msdl.microsoft.com/download/symbols

where "C:\Users\swpapati\Desktop\admintool_crash\pdbs" exists and has the local copy of required symbol file values.

On loading the dmp crash file I can see below text on console :- Crash File Output

On issuing Command - .reload /f admintool.exe I can get below error as Symbol file not found. Similar error is obtained on issuing !analyze -v or .reload /f

enter image description here

The admintool.pdb is present at C:\Users\swpapati\Desktop\admintool_crash\pdbs. Also I have set the env variable

_NT_SYMBOL_PATH = srv*C:\Users\swpapati\Desktop\admintool_crash\pdbs*http://msdl.microsoft.com/download/symbols

What setting went wrong?

1

There are 1 best solutions below

0
Thomas Weller On

The admintool.pdb is present at C:\Users\swpapati\Desktop\admintool_crash\pdbs

You can't simply put a PDB file into a folder that has a structure of a symbol store.

There are at least 2 solutions:

a) put your own PDBs into the folder using the tool symstore.exe. This approach will require learning about how symbol stores are set up and how to use symstore.exe.

b) use two different paths, one for the Microsoft symbols and one folder with your own symbols. Commands are like this:

.sympath x:\whereever\your\pdbs\are\
.symfix+ x:\whereever\microsoft\symbols\should\go\

Note the + at the end of a command. It tells WinDbg to use that in addition to the existing symbol paths that are already set up.