加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

VS2010下Cannot find or open the PDB file(转)

(2014-03-01 22:27:11)
标签:

opencv

vs2010

cannotfindoropenthep

分类: linux

问题:

dubug时出现以下现象:

“TestIfly.exe”: 已加载“E:\workspace\vc\TestIfly\Debug\TestIfly.exe”,已加载符号。
“TestIfly.exe”: 已加载“C:\Windows\SysWOW64\ntdll.dll”,Cannot find or open the PDB file
“TestIfly.exe”: 已加载“C:\Windows\SysWOW64\kernel32.dll”,Cannot find or open the PDB file
“TestIfly.exe”: 已加载“C:\Windows\SysWOW64\KernelBase.dll”,Cannot find or open the PDB file
“TestIfly.exe”: 已加载“C:\InterReco 4.1\bin\isr_api.dll”,Cannot find or open the PDB file
“TestIfly.exe”: 已加载“C:\Windows\SysWOW64\user32.dll”,Cannot find or open the PDB file
“TestIfly.exe”: 已加载“C:\Windows\SysWOW64\gdi32.dll”,Cannot find or open the PDB file
“TestIfly.exe”: 已加载“C:\Windows\SysWOW64\lpk.dll”,Cannot find or open the PDB file
“TestIfly.exe”: 已加载“C:\Windows\SysWOW64\usp10.dll”,Cannot find or open the PDB file
“TestIfly.exe”: 已加载“C:\Windows\SysWOW64\msvcrt.dll”,Cannot find or open the PDB file
“TestIfly.exe”: 已加载“C:\Windows\SysWOW64\advapi32.dll”,Cannot find or open the PDB file
“TestIfly.exe”: 已加载“C:\Windows\SysWOW64\sechost.dll”,Cannot find or open the PDB file
“TestIfly.exe”: 已加载“C:\Windows\SysWOW64\rpcrt4.dll”,Cannot find or open the PDB file
“TestIfly.exe”: 已加载“C:\Windows\SysWOW64\sspicli.dll”,Cannot find or open the PDB file
“TestIfly.exe”: 已加载“C:\Windows\SysWOW64\cryptbase.dll”,Cannot find or open the PDB file
“TestIfly.exe”: 已加载“C:\Windows\winsxs\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4927_none_d08a205e442db5b5\msvcp80.dll”,Cannot find or open the PDB file
“TestIfly.exe”: 已加载“C:\Windows\winsxs\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4927_none_d08a205e442db5b5\msvcr80.dll”,Cannot find or open the PDB file
“TestIfly.exe”: 已加载“C:\Windows\SysWOW64\version.dll”,Cannot find or open the PDB file
“TestIfly.exe”: 已加载“C:\Windows\SysWOW64\msvcr100d.dll”,已加载符号。
“TestIfly.exe”: 已加载“C:\Windows\SysWOW64\imm32.dll”,Cannot find or open the PDB file
“TestIfly.exe”: 已加载“C:\Windows\SysWOW64\msctf.dll”,Cannot find or open the PDB file
程序“[8868] TestIfly.exe: 本机”已退出,返回值为 126 (0x7e)。

参照:http://topic.csdn.net/u/20101108/14/49f2a594-8da2-4f5e-a01d-dd08b29f961b.html

总结如下:

原因是程序输出的地方是系统而不是vs2010。
Ctrl + F5运行就可以了
或者在cmd命令行下执行程序。

或者

把"Microsoft Symbol Servers"勾上(Tools -> Options -> Debugging -> Symbols).

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有