简体   繁体   中英

How to fix the "Cannot find or open the PDB file." in Visual Studio 2017

Every time I run a project in Visual Studio 2017, it loads all dll files. In the Debug output, I can see " Symbols loaded ." after most of the dll files. But after the " msvcp140d.dll " and " ig4icd32.dll " files, it says " Cannot find or open the PDB file. "

How can I fix this? Can someone help???

How can I fix this?

There is nothing to "fix" .

If you run your program in the Visual Studio debugger, it tries to probe for PDB files when DLLs are loaded at the startup of your program.

The message just states that the PDB files for some DLLs cannot be found and loaded.

Usually this will not be a problem since you don't need to debug msvcp140d.dll or similar system essentials.

For pdb missing, Clean Solution and perform Rebuild Solution from project menu. For 'msvcp140d.dll file not found' ,check your project settings, choose toolkit14, debug mode and linker setting for dynamic link. Try to install MS redistributable c++ for 2015 x86 and x64.

Clearly this is a bug, which should bed repaired by the guys who developed visual studio. You should avoid hiding from a your idea that you are super intelligent; just fix it

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