Visual Studio Debugger: Cannot find or open the PDB file

  • Thread starter Thread starter youqiang_wu
  • Start date Start date
Y

youqiang_wu

Guest
Tools-> Options-> Debugging-> Symbols. Select checkbox "Microsoft Symbol Servers". Visual Studio will download PDBs automatically.

When starting a program under the Microsoft Visual Studio 2017 *debugger, you will generally see in the Output pane a series of messages similar to the following:

'dpiTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file.
'dpiTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or open the PDB file.
'dpiTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Cannot find or open the PDB file.
'dpiTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\SHCore.dll'. Cannot find or open the PDB file.
'dpiTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcrt.dll'. Cannot find or open the PDB file.
'dpiTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'. Cannot find or open the PDB file.
'dpiTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sspicli.dll'. Cannot find or open the PDB file.
'dpiTest.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptbase.dll'. Cannot find or open the PDB file.

Before, the symbol fille can be successfully loaded;

but recentlly the symbols can not be found ?

open Debug-> windows-> moduels dialog, download pdb file, the "no symbols found: browse for ***.pdb" dialog popup;


so how to fix it?

Continue reading...
 
Back
Top