无法找到调试信息,或者调试信息不匹配,cannot find or open the pdb file
2013-05-28 13:29
405 查看
今天测试组跑程序crash了,拿回了crash.dmp文件
dmp文件放到开发目录下,用vs 打开调试,提示“无法找到调试信息,或者调试信息不匹配,cannot find or open the pdb file”
还好要求自动构建脚本将pdb文件也保存下来了。取到匹配的pdb文件,放到对应目录下,继续调试,还是报错。奇怪???
粗心了,运行的exe跟pdb,还有源码的版本都必须匹配。
所以取安装包,取到里面的exe,将源码update to version到打包版本(因为打包后又更新了代码)
解决这些问题的过程中,查了一些关于pdb的资料,主要一点是关于dumpbin的使用
可以通过vs工具里的dumpbin.exe来查询exe关联的dump文件,用法
1 进入vs工具集,选取命令行
2 dumpbin /HEADER *.exe,可以看到exe关联的guid跟pdb路径(guid就是用来校验是不是同一版本的)
资料地址:http://www.cnblogs.com/xuanhun/archive/2011/10/11/2207398.html
dmp文件放到开发目录下,用vs 打开调试,提示“无法找到调试信息,或者调试信息不匹配,cannot find or open the pdb file”
还好要求自动构建脚本将pdb文件也保存下来了。取到匹配的pdb文件,放到对应目录下,继续调试,还是报错。奇怪???
粗心了,运行的exe跟pdb,还有源码的版本都必须匹配。
所以取安装包,取到里面的exe,将源码update to version到打包版本(因为打包后又更新了代码)
解决这些问题的过程中,查了一些关于pdb的资料,主要一点是关于dumpbin的使用
可以通过vs工具里的dumpbin.exe来查询exe关联的dump文件,用法
1 进入vs工具集,选取命令行
2 dumpbin /HEADER *.exe,可以看到exe关联的guid跟pdb路径(guid就是用来校验是不是同一版本的)
资料地址:http://www.cnblogs.com/xuanhun/archive/2011/10/11/2207398.html
相关文章推荐
- oponcv运行时无法找到、打开PDB文件(cannot find or open pdb file),程序已经退出,返回值-1(0xffffff)
- VS2010+opencv2.4.10调试显示Cannot find or open the PDB file出不了图片问题。
- Error: Cannot find or open the PDB file
- VS2010++ 出现 Cannot find or open the PDB file 的错误解决办法
- Cannot find or open the PDB file???我来解决
- Cannot find or open the PDB file
- Cannot find or open the PDB file怎么解决
- Cannot find or open the PDB file问题的解决
- Vusial Studio提示“Cannot find or open the PDB file”解决方法
- Cannot find or open the PDB file问题的解决
- Cannot find or open the PDB file
- Cannot find or open the PDB file
- 关于Cannot find or open the PDB file ntdll.dll gdi32.dll user32.dll 的解决办法
- Visual Studio 201x warning: Cannot find or open the PDB file
- C:\Windows\opencv_highgui2411.dll”,Cannot find or open the PDB file
- VS2010 C++ Debug 出现错误“Cannot find or open the PDB file”(续)
- Cannot find or open the PDB file问题的解决
- VS2010,Cannot find or open the PDB file
- Cannot find or open the PDB file问题的解决
- VS 2010 的 Cannot find or open the PDB file发生的可能原因