我刚刚下载了VS 2013 Community Edition,然后编写了我的第一个应用程序。当我运行它时,它显示在输出部分:
'ConsoleApplication1.exe' (Win32): Loaded 'C:\Users\Toshiba\Documents\Visual Studio 2013\Projects\ConsoleApplication1\Debug\ConsoleApplication1.exe'. Symbols loaded.
'ConsoleApplication1.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Cannot find or open the PDB file.
'ConsoleApplication1.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Cannot find or open the PDB file.
'ConsoleApplication1.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Cannot find or open the PDB file.
'ConsoleApplication1.exe' (Win32): Loaded 'C:\Windows\System32\msvcp120d.dll'. Cannot find or open the PDB file.
'ConsoleApplication1.exe' (Win32): Loaded 'C:\Windows\System32\msvcr120d.dll'. Cannot find or open the PDB file.
The program '[11196] ConsoleApplication1.exe' has exited with code 0 (0x0).
问题是什么?我在许多站点上检查了我的代码,因此我知道问题不在我的代码中。谁能帮我?
最佳答案
尝试转到“工具”->“选项”->“调试”->“符号”,然后选中“Microsoft符号服务器”复选框,Visual Studio将自动下载PDB。
参见Cannot find or open the PDB file in Visual Studio C++ 2010