您的位置:首页 > 运维架构

Cannot find or open the PDB file???我来解决

2011-06-30 17:10 375 查看
'win32.exe': Loaded 'C:/Windows/System32/msvcr100d.dll', Symbols loaded.
'win32.exe': Loaded 'C:/Windows/System32/imm32.dll', Cannot find or open the PDB file
'win32.exe': Loaded 'C:/Windows/System32/msctf.dll', Cannot find or open the PDB file
'win32.exe': Loaded 'C:/Windows/System32/uxtheme.dll', Cannot find or open the PDB file
'win32.exe': Loaded 'C:/Windows/System32/dwmapi.dll', Cannot find or open the PDB file
'win32.exe': Loaded 'C:/Windows/System32/advapi32.dll', Cannot find or open the PDB file
'win32.exe': Loaded 'C:/Windows/System32/sechost.dll', Cannot find or open the PDB file
'win32.exe': Loaded 'C:/Windows/System32/rpcrt4.dll', Cannot find or open the PDB file
'win32.exe': Loaded 'C:/Windows/System32/ole32.dll', Cannot find or open the PDB file
'win32.exe': Loaded 'C:/Windows/System32/cryptbase.dll', Cannot find or open the PDB file

???大家用过vs2010的是不是遇到过这种情况,半个月才解决;先上图





这是vs2010高级版的截图,熟悉吧,你随便写一个helloworld就会出现这个Cannot find or open the PDB file,就是找不到什么问题。

这样解决:工具--》选项--》》调试--》符号



接下来就是选择Microsoft,然后确认,重新编写一个程序,什么也可以,看看是不是好了?你没有发现编译很慢?



看到此目录下符号缓存了吗?找到这个目录拷贝出来,找个地方存放。接下来就是去掉Microsoft符号服务器,要是不去,每次都要从Microsoft下载很麻烦,已经缓存了,我们就可以利用好这些缓存,至此完美解决。

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: