warning: Cannot find or open the PDB file

Posted 野指针

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了warning: Cannot find or open the PDB file相关的知识,希望对你有一定的参考价值。

visual studio 2010 正常运行后在output window 跳出一堆warnings

‘Shaders.exe‘: Loaded ‘C:\Documents and Settings\User\My Documents\Visual Studio        2010\Projects\Shaders\Win32\Debug\Shaders.exe‘, Symbols loaded.
‘Shaders.exe‘: Loaded ‘C:\WINDOWS\system32\ntdll.dll‘, Cannot find or open the PDB file
‘Shaders.exe‘: Loaded ‘C:\WINDOWS\system32\kernel32.dll‘, Cannot find or open the PDB  file
‘Shaders.exe‘: Loaded ‘C:\qt-everywhere-opensource-src-4.8.3\bin\QtCored4.dll‘, Symbols  loaded.
‘Shaders.exe‘: Loaded ‘C:\WINDOWS\system32\user32.dll‘, Cannot find or open the PDB file
‘Shaders.exe‘: Loaded ‘C:\WINDOWS\system32\gdi32.dll‘, Cannot find or open the PDB file
‘Shaders.exe‘: Loaded ‘C:\WINDOWS\system32\ole32.dll‘, Cannot find or open the PDB file
‘Shaders.exe‘: Loaded ‘C:\WINDOWS\system32\advapi32.dll‘, Cannot find or open the PDB file
‘Shaders.exe‘: Loaded ‘C:\WINDOWS\system32\rpcrt4.dll‘, Cannot find or open the PDB file
‘Shaders.exe‘: Loaded ‘C:\WINDOWS\system32\secur32.dll‘, Cannot find or open the PDB file
‘Shaders.exe‘: Loaded ‘C:\WINDOWS\system32\msvcrt.dll‘, Cannot find or open the PDB file
‘Shaders.exe‘: Loaded ‘C:\WINDOWS\system32\ws2_32.dll‘, Cannot find or open the PDB file
‘Shaders.exe‘: Loaded ‘C:\WINDOWS\system32\ws2help.dll‘, Cannot find or open the PDB file
‘Shaders.exe‘: Loaded ‘C:\WINDOWS\system32\msvcp100d.dll‘, Symbols loaded.
‘Shaders.exe‘: Loaded ‘C:\WINDOWS\system32\msvcr100d.dll‘, Symbols loaded.
‘Shaders.exe‘: Loaded ‘C:\qt-everywhere-opensource-src-4.8.3\bin\QtGuid4.dll‘, Symbols loaded.
‘Shaders.exe‘: Loaded ‘C:\WINDOWS\system32\comdlg32.dll‘, Cannot find or open the PDB file
‘Shaders.exe‘: Loaded ‘C:\WINDOWS\system32\comctl32.dll‘, Cannot find or open the PDB file
‘Shaders.exe‘: Loaded ‘C:\WINDOWS\system32\shell32.dll‘, Cannot find or open the PDB file
‘Shaders.exe‘: Loaded ‘C:\WINDOWS\system32\shlwapi.dll‘, Cannot find or open the PDB file
‘Shaders.exe‘: Loaded ‘C:\WINDOWS\system32\oleaut32.dll‘, Cannot find or open the PDB file
‘Shaders.exe‘: Loaded ‘C:\WINDOWS\system32\imm32.dll‘, Cannot find or open the PDB file
‘Shaders.exe‘: Loaded ‘C:\WINDOWS\system32\winmm.dll‘, Cannot find or open the PDB file
‘Shaders.exe‘: Loaded ‘C:\WINDOWS\system32\winspool.drv‘, Cannot find or open the PDB file
‘Shaders.exe‘: Loaded ‘C:\qt-everywhere-opensource-src-4.8.3\bin\QtOpenGLd4.dll‘, Symbols loaded.

PDB是visual studio用于debug的信息文件, 属于系统的dll, 因此解决方法有以下几种:

(1) 关闭debug模块加载错误提示,方法是依次打开 Tools -> Options -> Debugging -> Output Window -> Module Load Messages -> Off

(2) 下载PDB文件,依次打开 Tools->Options->Debugging->Symbols 在 "Microsoft Symbol Servers" 的复选框上打勾

推荐使用第一种方法,每次打开project都要加载一大堆PDB,还是比较难以容忍的.

以上是关于warning: Cannot find or open the PDB file的主要内容,如果未能解决你的问题,请参考以下文章

交叉编译遇到bin/ld: cannot find crt1.o: No such file or directory问题解决

[Vue warn]: Cannot find element: #app

Cannot find or open the PDB file

为啥我在启动模拟器时会收到此 GRPC 错误“WARNING: EmulatorService.cpp:448: Cannot find certfile”?

[vue遇错记录] vue.js:569 [Vue warn]: Cannot find element: #app

Cannot find module '../**/**/****' or its corresponding type declarations.