青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品

隨筆 - 132  文章 - 51  trackbacks - 0
<2010年8月>
25262728293031
1234567
891011121314
15161718192021
22232425262728
2930311234

常用鏈接

留言簿(7)

隨筆分類

隨筆檔案

文章分類

文章檔案

cocos2d-x

OGRE

OPenGL

搜索

  •  

最新評論

閱讀排行榜

評論排行榜

Recently, I was encountering insanely slow project loading times during debugging in Visual Studio 2008. Interestingly, this only happened while loading the project only in debug mode. Also, during the slow symbol loading time, the status bar at Visual Studio 2008 always showed Loading Symbols For ____.Dll.

To track it down, I enabled logging for the VS 2008 IDE. This can be done by adding the following entries to its configuration file.

1) Navigate to: C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE  in Windows Explorer

2) Load devenv.exe.config in text editor.

3) Add the following entries into it

  <system.diagnostics>
        <trace autoflush="true" indentsize="4">
            <listeners>
               <add name="myListener" 
type="System.Diagnostics.TextWriterTraceListener, System version=1.0.3300.0, 
Culture=neutral, PublicKeyToken=b77a5c561934e089" 
initializeData="c:\myListener.log" />
               <remove name="Default" />
            </listeners>
        </trace>
    </system.diagnostics>
As per this configuration, the trace log would be saved to C:\myListener.Log. Now I fired up VS 2008 and loaded to project in debug mode to reproduce the issues.
I also ran couple of unit test cases in debug mode which were also not able to load. I opened the trace log and found these exceptions:

[V, 5820, 7, 2008/07/04 14:00:33.412] devenv.exe: DIA thew in retrieving symbols: System.Runtime.InteropServices.COMException (0x806D0005): Exception from HRESULT: 0x806D0005

at Microsoft.VisualStudio.TestTools.Common.Dia2Lib.IDiaDataSource.loadDataForExe(String executable, String searchPath, Object pCallback)

at Microsoft.VisualStudio.TestTools.Common.DiaHelper.GetSymbolsFileName(String imagePath)

Confirmed with the issue was related to loading of Symbols. I realized that I had once set up a dedicated symbol directory on machine at C:\symbols to enable debugging with WinDbg.

I checked the Debugging Options in VS 2008 to see if its trying to load symbols from somewhere else.

Debug

 

Then suddenly, I was reminded that I had once set up a environment variable _NT_SYMBOL_PATH to an Internet location while debugging in WinDbg to enable automatic downloading of symbols.

I originally thought that this setting was only applicable to WinDbg. But I was mistaken. In fact, this setting will be used across by all debuggers (atleast Microsoft debuggers). This is documented here. I was pretty sure that VS 2008 was trying to load symbols from the Internet location and since many of the assemblies in my application didn't had symbols were them, it must have been failing.

To confirm, I fired My Computer -> Properties -> Advanced -> Environment Variables and cleared out the line

_NT_SYMBOL_PATH=srv*c:\mysymbols*http://msdl.microsoft.com/download/symbols;cache*c:\mysymbols

I reloaded the my project in VS 2008 in debug mode and Bingo, the problem was solved :)

While investigating this problem, I came across many other sources which could cause this issue , so I thought I can post it here for the benefit of community. The credit for these tips goes to Azeem Khan who is working with VSTS team at Microsoft.

  • Make sure that you don't have a symbol path specified in VS under Tools | Options | Debugging | Symbols and also, that you don't have the NT_SYMBOL_PATH environment variable set on your machine. 
  • Verify that you haven't specified any network shares under the same setting to server that do not exist anymore. This will require timeouts. 
  • Specify a local cache for symbols under the same setting. After you have downloaded symbols once from network shares you can disable those locations. Symbol loading will go a lot faster after the first attempt. 
  • Do not specify any symbol lookup paths at all either in environment variable and specify paths in the options page but specify that they be used for manual loading. You can then manually load symbols for modules you care about either via the context menu in call stack or the modules window. 
  • VS 2008 SP1 has made a few improvements in this area. It allows for canceling loading of symbols as it is happening. This will allow you to get to your debug session much faster. Note that this is currently in Beta. 
  • Clearing the breakpoints also serve to solve this problem for some people.

原文地址:http://blogs.msdn.com/b/mahuja/archive/2008/07/08/resolving-very-slow-symbol-loading-with-vs-2008-during-debugging.aspx

 

posted on 2012-03-27 17:45 風(fēng)輕云淡 閱讀(519) 評論(0)  編輯 收藏 引用 所屬分類: Toolkit
青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            亚洲国产91精品在线观看| 最新国产成人在线观看| 中国av一区| 一区二区三区毛片| 欧美三区视频| 久久gogo国模裸体人体| 亚洲欧美日韩网| 在线观看中文字幕不卡| 91久久精品国产91久久| 国产精品黄色在线观看| 性欧美18~19sex高清播放| 欧美一区二区三区在线视频| 伊人久久大香线蕉av超碰演员| 欧美国产精品人人做人人爱| 欧美日韩国产一区| 久久国产一区二区三区| 玖玖玖免费嫩草在线影院一区| 在线视频精品一区| 久久精品国产欧美激情| 亚洲美女在线看| 亚洲欧美在线视频观看| 亚洲日本欧美日韩高观看| 亚洲午夜久久久久久久久电影院 | 一区二区电影免费在线观看| 亚洲欧美久久久久一区二区三区| 在线高清一区| 亚洲午夜电影| 亚洲免费av网站| 欧美一区二区三区免费视频| 日韩一级裸体免费视频| 欧美一区高清| 亚洲一区二区三区国产| 久久久国产精品亚洲一区 | 蜜桃av一区二区三区| 国产精品swag| 欧美激情一区二区久久久| 国产精品青草综合久久久久99| 欧美jjzz| 国产亚洲欧美日韩在线一区| 亚洲美女黄色片| 亚洲经典三级| 久久精品首页| 欧美在线视频免费播放| 欧美日韩综合久久| 亚洲人成欧美中文字幕| 伊人久久亚洲影院| 亚洲综合三区| 亚洲欧美国产高清va在线播| 欧美日韩国产成人在线观看| 亚洲国产成人不卡| 曰本成人黄色| 久久久久久亚洲综合影院红桃| 欧美在线视频观看免费网站| 国产精品高清网站| 99riav国产精品| 中国成人亚色综合网站| 欧美激情精品久久久久| 亚洲国产精品久久久久秋霞不卡| 狠狠色狠狠色综合日日91app| 亚洲欧美国产精品桃花| 亚洲欧美一区二区三区久久| 免费美女久久99| 久久久国产精品一区| 国产伦精品一区二区三区四区免费 | 亚洲精品视频在线观看网站| 久久久最新网址| 久久先锋资源| 伊人精品成人久久综合软件| 久久久99精品免费观看不卡| 另类av导航| 亚洲国产精品热久久| 欧美成人中文字幕| 亚洲毛片网站| 午夜激情亚洲| 国产一区三区三区| 久久男女视频| 亚洲激情偷拍| 亚洲一区二区三区免费在线观看 | 久久久久久夜精品精品免费| 欧美激情亚洲自拍| 亚洲午夜精品一区二区| 国产精品一区二区久久国产| 欧美一级夜夜爽| 欧美激情一区二区三级高清视频 | 亚洲黄色在线| 欧美日在线观看| 欧美在线高清视频| 欧美大片免费观看在线观看网站推荐| 91久久久精品| 国产精品视频第一区| 久久综合中文| 一卡二卡3卡四卡高清精品视频| 欧美一级专区| 亚洲黄色成人| 国产精品日韩在线播放| 久久综合狠狠综合久久综合88| 亚洲日本在线观看| 久久精品国产免费观看| 亚洲激情啪啪| 国产美女一区二区| 欧美成人精品福利| 午夜精品一区二区三区电影天堂| 欧美成人首页| 性色av香蕉一区二区| 亚洲人成网站精品片在线观看| 国产精品视频网址| 欧美国产乱视频| 久久九九国产精品| 亚洲专区欧美专区| 亚洲高清资源| 可以免费看不卡的av网站| 中日韩男男gay无套| 在线观看视频一区| 国产日本欧美一区二区| 欧美日韩免费在线| 免费日韩av| 久久久久免费视频| 欧美一区二区日韩| 亚洲一区二区成人| 日韩午夜剧场| 亚洲黄色天堂| 猛男gaygay欧美视频| 久久大综合网| 午夜精品久久久久久久99樱桃 | 国产日韩欧美视频| 国产精品欧美经典| 欧美日本在线播放| 欧美成人在线免费观看| 久久蜜桃香蕉精品一区二区三区| 欧美一区二区三区电影在线观看| 亚洲一区二区三区乱码aⅴ| 亚洲乱码国产乱码精品精天堂| 欧美jizzhd精品欧美巨大免费| 久久人91精品久久久久久不卡| 欧美一区二区三区的| 亚洲欧美精品| 欧美一区2区视频在线观看| 亚洲免费视频在线观看| 亚洲视频在线观看| 亚洲午夜精品视频| 亚洲欧美日韩中文播放| 午夜亚洲性色视频| 午夜精品亚洲| 先锋资源久久| 久久成人精品电影| 久久久av毛片精品| 免费国产一区二区| 欧美顶级大胆免费视频| 亚洲国产乱码最新视频| 亚洲激情视频在线| 一本色道久久加勒比88综合| 亚洲网站在线| 校园春色综合网| 久久天天躁夜夜躁狠狠躁2022 | 久久精品道一区二区三区| 欧美一级淫片播放口| 久久精品av麻豆的观看方式| 久久夜色撩人精品| 欧美精品性视频| 国产精品久久久久久久久久久久久 | 国产欧美精品日韩区二区麻豆天美| 国产美女扒开尿口久久久| 国产自产高清不卡| 亚洲精品一区在线| 午夜伦欧美伦电影理论片| 久久精品日韩| 亚洲黄色精品| 小黄鸭精品密入口导航| 另类亚洲自拍| 欧美日韩免费网站| 经典三级久久| 99热精品在线| 欧美在线亚洲一区| 欧美黄色影院| 亚洲一区二区三区四区五区黄| 久久久噜噜噜久噜久久| 欧美日韩国产经典色站一区二区三区| 国产精品国产自产拍高清av王其 | 亚洲精品久久久久久久久久久 | 精品电影一区| 亚洲视频狠狠| 蜜臀久久久99精品久久久久久| 99re在线精品| 老牛影视一区二区三区| 国产精品剧情在线亚洲| 在线观看一区欧美| 欧美亚洲系列| 亚洲美女精品一区| 久久夜色精品国产欧美乱极品| 国产精品久久久久aaaa樱花| 亚洲国产日韩欧美一区二区三区| 亚洲欧美激情视频在线观看一区二区三区| 老司机精品导航| 亚洲一区网站| 欧美日韩一区二区欧美激情| 精品成人一区| 久久精品一本| 亚洲一区二区三区色| 欧美日韩国产探花| 亚洲人久久久|