no PDB file for ntdll.dll

15,428

There are multiple options you can have.

  1. Download symbol package provided by microsoft. This will download PDB for all system libraries. Extract it to "c:\symbolcache"
  2. Set symbol path to SRV*c:\symbolcache*http://msdl.microsoft.com/download/symbols. In this case this will download PDB files and store them into "c:\symbolcache" if not present.

Then you have to set "c:\symbolcache" as your symbol file path into whatever crash dump analysis tool you are using.

Share:
15,428
vico
Author by

vico

Updated on June 08, 2022

Comments

  • vico
    vico over 1 year

    Trying to debug dll project I developing. I got message box Debugging information for 'ntdll.dll' cannot be found or does not match. Cannot find or open the PDB file while trying to load this dll with host application. How to solve this problem?

    After some experiments and setting VS2010 to get symbols from server I have following message while buildind dll:

    DEMO.exe': Loaded 'C:\Windows\System32\ntdll.dll', Symbols loaded (source information stripped). DEMO.exe': Loaded 'C:\Windows\System32\mscoree.dll', Symbols loaded (source information stripped). DEMO.exe': Loaded 'C:\Windows\System32\kernel32.dll', Symbols loaded (source information stripped). DEMO.exe': Loaded 'C:\Windows\System32\KernelBase.dll', Symbols loaded (source information stripped).

    But still have described messagebox while run debug.