无法在 Visual Studio C++ 2010 中找到或打开 PDB 文件
我使用 Visual Studio 2010 C++ 并且我的项目构建没有错误,但是当我运行它时我得到了这个.我使用的是 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:WINDOWSsystem32pcrt4.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 使用的调试信息文件.这些是系统 DLL,您没有调试符号.转到 Tools->Options->Debugging->Symbols 并选中复选框Microsoft Symbol Servers",Visual Studio 将自动下载 PDB.或者,如果您不需要在这些模块中看到正确的调用堆栈,您可以忽略这些警告.
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.
相关文章