无法在 Visual Studio C++ 2010 中找到或打开 PDB 文件

Cannot find or open the PDB file in Visual Studio C++ 2010(无法在 Visual Studio C++ 2010 中找到或打开 PDB 文件)
本文介绍了无法在 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: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 使用的调试信息文件.这些是系统 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.

这篇关于无法在 Visual Studio C++ 2010 中找到或打开 PDB 文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

相关文档推荐

How do compilers treat variable length arrays(编译器如何处理变长数组)
Deduce template argument from std::function call signature(从 std::function 调用签名推导出模板参数)
check if member exists using enable_if(使用 enable_if 检查成员是否存在)
Standard Library Containers with additional optional template parameters?(具有附加可选模板参数的标准库容器?)
Uses of a C++ Arithmetic Promotion Header(C++ 算术提升标头的使用)
Parameter pack must be at the end of the parameter list... When and why?(参数包必须位于参数列表的末尾...何时以及为什么?)