Visual Studio 2010“无法找到或打开PDB文件” [英] Visual Studio 2010 "Cannot find or open the PDB file"

查看:206
本文介绍了Visual Studio 2010“无法找到或打开PDB文件”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在Visual Studio 10中调试一个程序,但是我有一个断点问题。我将* .db文件对应的* .pdb文件放在同一目录下。但是在检查模块时,我看到每个DLL文件都以签名无法找到或打开PDB文件



如何解决这个问题?如何检查* .pdb文件的位置?

解决方案

模块(Ctrl-D,M)一个很好的地方来整理出来的是什么,所以你在正确的区域。



右键单击你想要的pdb的模块/ dll,然后选择符号加载信息



它应该与您的dll一样查找与之相同的目录,如果找到pdb将加载它或告诉你,pdb文件不匹配dll。


I try to debug a program in Visual Studio 10, but I have a problem with breakpoints. I put *.pdb files corresponding to the *.dll files to the same directory. But while checking modules, I see that each DLL file is signed as Cannot find or open the PDB file.

How can I fix this problem? How can I check where *.pdb files are expected to be located?

解决方案

The modules (Ctrl-D, M) is a good place to sort out whats going on so you're in the right area.

Right-click the module/dll you expected the pdb to be found for and select Symbol Load Information

It should look in the same directory as your dll to begin with and if it finds the pdb will either load it or tell you that the pdb file doesnt match the dll.

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

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆