Can not find or open the PDB file

转载

 

‘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下载很麻烦,已经缓存了,我们就可以利用好这些缓存,至此完美解决。

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s