I am using WinDbg to load a crash dump from managed code (C#, a console application built for Any CPU), and a crash dump is created on a x64 platform. I am debugging on a x64 platform. I have put the related PDB file into the symbol path.
But WinDbg always find the symbol from a strange folder. Here is an example (when I got from using !sym noisy):
SYMSRV: c:MySymbolsFooService.pdb4311207E2E2D442CB7473828D2488F941FooService.pdb not found
My application is called FooService.exe
and the related PDB file is named FooService.pdb
. I have set C:MySymbols
as the symbol path and copied FooService.pdb
to the directory C:MySymbols
. But why does WinDbg not find FooService.pdb
in C:MySymbols
, but from a strange sub-folder, "FooService.pdb4311207E2E2D442CB7473828D2488F941"?
In my scenario, in order to load the PDB symbol file, what is the best solution (do I have to create the sub-folder FooService.pdb4311207E2E2D442CB7473828D2488F941
by myself manually)?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…