简体   繁体   中英

Symbol Path Not Found in windbg

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:- 崩溃文件输出

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

在此处输入图像描述

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?

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.

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