简体   繁体   English

如何修复“无法找到或打开 PDB 文件”。 在 Visual Studio 2017 中

[英]How to fix the "Cannot find or open the PDB file." in Visual Studio 2017

Every time I run a project in Visual Studio 2017, it loads all dll files.每次我在 Visual Studio 2017 中运行项目时,它都会加载所有 dll 文件。 In the Debug output, I can see " Symbols loaded ."在调试输出中,我可以看到“已加载符号”。 after most of the dll files.在大多数 dll 文件之后。 But after the " msvcp140d.dll " and " ig4icd32.dll " files, it says " Cannot find or open the PDB file. "但是在“ msvcp140d.dll ”和“ ig4icd32.dll ”文件之后,它会显示“无法找到或打开PDB文件。

How can I fix this?我怎样才能解决这个问题? Can someone help???有人可以帮忙吗???

How can I fix this? 我怎样才能解决这个问题?

There is nothing to "fix" . 没有什么可以“修复”的

If you run your program in the Visual Studio debugger, it tries to probe for PDB files when DLLs are loaded at the startup of your program. 如果您在Visual Studio调试器中运行程序,则在程序启动时加载DLL时,它将尝试探测PDB文件。

The message just states that the PDB files for some DLLs cannot be found and loaded. 该消息只是指出找不到某些DLL的PDB文件。

Usually this will not be a problem since you don't need to debug msvcp140d.dll or similar system essentials. 通常,这不会有问题,因为您不需要调试msvcp140d.dll或类似的系统必需品。

For pdb missing, Clean Solution and perform Rebuild Solution from project menu. 对于缺少的pdb,请清除解决方案,然后从项目菜单执行“重建解决方案”。 For 'msvcp140d.dll file not found' ,check your project settings, choose toolkit14, debug mode and linker setting for dynamic link. 对于“找不到msvcp140d.dll文件”,请检查您的项目设置,为动态链接选择toolkit14,调试模式和链接器设置。 Try to install MS redistributable c++ for 2015 x86 and x64. 尝试为2015 x86和x64安装MS Redistributable C ++。

Clearly this is a bug, which should bed repaired by the guys who developed visual studio.显然这是一个错误,应该由开发 Visual Studio 的人修复。 You should avoid hiding from a your idea that you are super intelligent;你应该避免隐瞒你超级聪明的想法; just fix it修好它

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 C ++ Microsoft Visual Studio 2015调试问题(无法找到或打开PDB文件。) - C++ Microsoft Visual Studio 2015 Debug issue (Cannot find or open the PDB file.) 找不到或打开PDB文件Visual Studio 2012 - Cannot find or open the PDB file Visual studio 2012 Windows 10中的Visual Studio 2012:找不到或打开PDB文件 - Visual Studio 2012 in Windows 10: Cannot find or open the PDB file 在Visual Studio C ++ 2010中找不到或打开PDB文件 - Cannot find or open the PDB file in Visual Studio C++ 2010 Visual Studio 2017 &#39;C:\\OpenCV-3.3.0\\opencv\\build\\x64\\vc14\\bin\\opencv_world330d.dll&#39;。 无法找到或打开 PDB 文件 - Visual Studio 2017 'C:\OpenCV-3.3.0\opencv\build\x64\vc14\bin\opencv_world330d.dll'. Cannot find or open the PDB file (C ++ / Visual Studio)无法找到或打开pdb文件且无法打印到控制台 - (C++/Visual Studio) cannot find or open pdb file & no printing to console 在Visual Studio中使用本地Windows调试器运行了第一个程序。 输出窗口显示大量“找不到或打开PDB文件” - ran first program with local windows debugger in visual studio. Output window displays numerous “Cannot find or open the PDB file” Visual Studio 2017 for Linux C ++:“无法找到或打开符号文件” - Visual Studio 2017 for Linux C++ : “Cannot find or open the symbol file” Visual Studio找不到nafxcwd.pdb - Visual studio cannot find nafxcwd.pdb Visual Studio 2017 无法打开源文件<windows.h> - Visual Studio 2017 Cannot open source file <windows.h>
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM