“无法找到或打开 pdb 文件"Visual Studio C++ 2013 [英] 'cannot find or open the pdb file' Visual Studio C++ 2013
问题描述
我刚刚下载了 VS 2013 社区版,并编写了我的第一个应用程序.当我运行它时,它显示在输出部分:
I just downloaded VS 2013 Community Edition and I wrote my first app. When I run it it shows in the output section:
'ConsoleApplication1.exe' (Win32): Loaded 'C:UsersToshibaDocumentsVisual Studio 2013ProjectsConsoleApplication1DebugConsoleApplication1.exe'. Symbols loaded.
'ConsoleApplication1.exe' (Win32): Loaded 'C:WindowsSystem32
tdll.dll'. Cannot find or open the PDB file.
'ConsoleApplication1.exe' (Win32): Loaded 'C:WindowsSystem32kernel32.dll'. Cannot find or open the PDB file.
'ConsoleApplication1.exe' (Win32): Loaded 'C:WindowsSystem32KernelBase.dll'. Cannot find or open the PDB file.
'ConsoleApplication1.exe' (Win32): Loaded 'C:WindowsSystem32msvcp120d.dll'. Cannot find or open the PDB file.
'ConsoleApplication1.exe' (Win32): Loaded 'C:WindowsSystem32msvcr120d.dll'. Cannot find or open the PDB file.
The program '[11196] ConsoleApplication1.exe' has exited with code 0 (0x0).
有什么问题?我在许多网站上检查了我的代码,所以我知道问题不在我的代码中.谁能帮我?
What is the problem? I checked my code on many sites so I know that the problem is not in my code. Can anyone help me?
推荐答案
尝试转到 Tools->Options->Debugging->Symbols 并选中复选框Microsoft Symbol Servers",Visual Studio 将自动下载 PDB.
Try go to Tools->Options->Debugging->Symbols and select checkbox "Microsoft Symbol Servers", Visual Studio will download PDBs automatically.
PDB 是 Visual Studio 使用的调试信息文件.这些是系统 DLL,您没有调试符号.[...]
PDB is a debug information file used by Visual Studio. These are system DLLs, which you don't have debug symbols for.[...]
见无法找到或打开Visual Studio C++ 2010 中的 PDB 文件
这篇关于“无法找到或打开 pdb 文件"Visual Studio C++ 2013的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!