問題描述
我使用 Visual Studio 2010 C++ 并且我的項目構(gòu)建沒有錯誤,但是當我運行它時我得到了這個.我使用的是 Windows XP.
I use Visual Studio 2010 C++ and my project builds without errors but when I run it I get this. I am on Windows XP.
'Shaders.exe': Loaded 'C:Documents and SettingsUserMy DocumentsVisual Studio 2010ProjectsShadersWin32DebugShaders.exe', Symbols loaded.
'Shaders.exe': Loaded 'C:WINDOWSsystem32
tdll.dll', Cannot find or open the PDB file
'Shaders.exe': Loaded 'C:WINDOWSsystem32kernel32.dll', Cannot find or open the PDB file
'Shaders.exe': Loaded 'C:qt-everywhere-opensource-src-4.8.3inQtCored4.dll', Symbols loaded.
'Shaders.exe': Loaded 'C:WINDOWSsystem32user32.dll', Cannot find or open the PDB file
'Shaders.exe': Loaded 'C:WINDOWSsystem32gdi32.dll', Cannot find or open the PDB file
'Shaders.exe': Loaded 'C:WINDOWSsystem32ole32.dll', Cannot find or open the PDB file
'Shaders.exe': Loaded 'C:WINDOWSsystem32advapi32.dll', Cannot find or open the PDB file
'Shaders.exe': Loaded 'C:WINDOWSsystem32
pcrt4.dll', Cannot find or open the PDB file
'Shaders.exe': Loaded 'C:WINDOWSsystem32secur32.dll', Cannot find or open the PDB file
'Shaders.exe': Loaded 'C:WINDOWSsystem32msvcrt.dll', Cannot find or open the PDB file
'Shaders.exe': Loaded 'C:WINDOWSsystem32ws2_32.dll', Cannot find or open the PDB file
'Shaders.exe': Loaded 'C:WINDOWSsystem32ws2help.dll', Cannot find or open the PDB file
'Shaders.exe': Loaded 'C:WINDOWSsystem32msvcp100d.dll', Symbols loaded.
'Shaders.exe': Loaded 'C:WINDOWSsystem32msvcr100d.dll', Symbols loaded.
'Shaders.exe': Loaded 'C:qt-everywhere-opensource-src-4.8.3inQtGuid4.dll', Symbols loaded.
'Shaders.exe': Loaded 'C:WINDOWSsystem32comdlg32.dll', Cannot find or open the PDB file
'Shaders.exe': Loaded 'C:WINDOWSsystem32comctl32.dll', Cannot find or open the PDB file
'Shaders.exe': Loaded 'C:WINDOWSsystem32shell32.dll', Cannot find or open the PDB file
'Shaders.exe': Loaded 'C:WINDOWSsystem32shlwapi.dll', Cannot find or open the PDB file
'Shaders.exe': Loaded 'C:WINDOWSsystem32oleaut32.dll', Cannot find or open the PDB file
'Shaders.exe': Loaded 'C:WINDOWSsystem32imm32.dll', Cannot find or open the PDB file
'Shaders.exe': Loaded 'C:WINDOWSsystem32winmm.dll', Cannot find or open the PDB file
'Shaders.exe': Loaded 'C:WINDOWSsystem32winspool.drv', Cannot find or open the PDB file
'Shaders.exe': Loaded 'C:qt-everywhere-opensource-src-4.8.3inQtOpenGLd4.dll', Symbols loaded.
謝謝
推薦答案
PDB 是 Visual Studio 使用的調(diào)試信息文件.這些是系統(tǒng) DLL,您沒有調(diào)試符號.轉(zhuǎn)到 Tools->Options->Debugging->Symbols 并選中復選框Microsoft Symbol Servers",Visual Studio 將自動下載 PDB.或者,如果您不需要在這些模塊中看到正確的調(diào)用堆棧,您可以忽略這些警告.
PDB is a debug information file used by Visual Studio. These are system DLLs, which you don't have debug symbols for. Go to Tools->Options->Debugging->Symbols and select checkbox "Microsoft Symbol Servers", Visual Studio will download PDBs automatically. Or you may just ignore these warnings if you don't need to see correct call stack in these modules.
這篇關(guān)于無法在 Visual Studio C++ 2010 中找到或打開 PDB 文件的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!