Cannot find or open the PDB file???

轉自:http://hi.baidu.com/%D6%F3%D2%BB%B1%AD%B2%E8/blog/item/0302b3188ef42f5143a9adf9.html 

'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下載很麻煩,已經緩存了,我們就可以利用好這些緩存,至此完美解決。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章