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

隨筆 - 132  文章 - 51  trackbacks - 0
<2012年3月>
26272829123
45678910
11121314151617
18192021222324
25262728293031
1234567

常用鏈接

留言簿(7)

隨筆分類

隨筆檔案

文章分類

文章檔案

cocos2d-x

OGRE

OPenGL

搜索

  •  

最新評(píng)論

閱讀排行榜

評(píng)論排行榜

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)輕云淡 閱讀(530) 評(píng)論(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>
            精品88久久久久88久久久| 亚洲日本激情| 亚洲一区二区三区久久 | 亚洲特级片在线| 午夜免费久久久久| 亚洲欧洲精品一区二区精品久久久| 亚洲日本中文字幕区| 国产亚洲va综合人人澡精品| 欧美fxxxxxx另类| 国产精品vvv| 久久精品女人| 欧美日韩成人免费| 玖玖国产精品视频| 国产精品va| 亚洲国产欧美一区二区三区同亚洲 | 国产欧美一区二区精品性| 亚洲成色www8888| 国产欧美精品一区二区三区介绍| 免费成人av| 国产欧美日韩精品丝袜高跟鞋| 欧美国产日本韩| 国产亚洲福利| 亚洲一区二区三区免费在线观看 | 亚洲精品一区二区在线| 欧美老女人xx| 久热re这里精品视频在线6| 国产精品国产三级国产| 亚洲国产成人午夜在线一区| 黄色一区二区三区| 欧美一区二区日韩一区二区| 亚洲视频免费| 欧美高清不卡在线| 欧美高潮视频| 国内在线观看一区二区三区| 一区二区av在线| 99精品久久免费看蜜臀剧情介绍| 久久亚洲免费| 噜噜爱69成人精品| 国产日韩综合| 午夜一级在线看亚洲| 欧美日韩午夜精品| 亚洲日本免费电影| 久久影视精品| 久久影院午夜片一区| 国产模特精品视频久久久久| 999在线观看精品免费不卡网站| 亚洲国产精品久久久久婷婷884 | 亚洲国产精品嫩草影院| 久久久久国产精品一区三寸| 欧美一进一出视频| 国产女主播在线一区二区| 亚洲一级二级在线| 亚洲一区日韩在线| 国产精品夫妻自拍| 亚洲自拍电影| 欧美在线不卡| 国产婷婷成人久久av免费高清 | 亚洲欧美国产日韩中文字幕| 欧美日韩国产高清视频| 日韩小视频在线观看专区| 夜夜嗨av一区二区三区四区| 欧美精品一区二区精品网 | 亚洲盗摄视频| 久久在精品线影院精品国产| 欧美激情精品久久久六区热门| 亚洲人精品午夜在线观看| 欧美精品一区二区三区很污很色的 | 裸体歌舞表演一区二区 | 亚洲精品欧美| 欧美伦理视频网站| 亚洲视频专区在线| 久久久综合激的五月天| 亚洲国产欧美一区二区三区久久| 免费成人高清在线视频| 夜久久久久久| 久久精品av麻豆的观看方式| 亚洲成人资源| 欧美人妖另类| 亚洲欧美网站| 亚洲国产精品成人久久综合一区| 中日韩高清电影网| 国产中文一区二区三区| 欧美高清在线视频| 亚洲一区在线视频| 免播放器亚洲一区| 中文精品视频| 国产一区二区三区不卡在线观看| 久久全国免费视频| 亚洲精品在线观| 久久久一区二区三区| 日韩一级精品| 韩国一区二区三区美女美女秀| 免费永久网站黄欧美| 亚洲视频一区在线观看| 六十路精品视频| 一本大道久久a久久精品综合| 国产免费观看久久| 欧美激情视频在线免费观看 欧美视频免费一 | 国内精品美女av在线播放| 欧美成人免费在线| 午夜精品999| 亚洲国产综合91精品麻豆| 亚洲一区二区三区四区五区午夜| 激情五月***国产精品| 欧美三级中文字幕在线观看| 欧美在线观看网址综合| 日韩一级网站| 亚洲成在线观看| 久久九九热re6这里有精品| a4yy欧美一区二区三区| 一区二区三区在线免费视频| 欧美无砖砖区免费| 欧美国产亚洲视频| 久久国产精品亚洲va麻豆| 日韩视频在线一区| 欧美黄色免费网站| 久久久亚洲国产天美传媒修理工 | 蜜桃久久精品乱码一区二区| 性欧美大战久久久久久久免费观看| 亚洲国产第一| 欧美激情精品久久久六区热门 | 欧美极品aⅴ影院| 久久精品国产一区二区三| 午夜欧美精品久久久久久久| 一本一本大道香蕉久在线精品| 亚洲精品1区2区| 欧美国产专区| 免费成人av在线| 久久在线视频在线| 久久午夜精品| 久久久777| 久久国产日本精品| 亚洲欧洲av一区二区| 亚洲午夜电影| 亚洲欧美国产精品桃花| 亚洲影视在线播放| 亚洲欧美成人精品| 欧美在线视频免费播放| 午夜精品三级视频福利| 亚洲欧美日韩在线高清直播| 亚洲一区二区在线免费观看视频| 一片黄亚洲嫩模| 中文日韩在线| 欧美在线二区| 久久艳片www.17c.com| 老鸭窝毛片一区二区三区| 久久九九免费| 免费观看日韩av| 免费视频一区| 亚洲精品乱码久久久久久黑人| 亚洲国产精品成人综合| 亚洲国产裸拍裸体视频在线观看乱了| 欧美激情四色| 亚洲六月丁香色婷婷综合久久| 亚洲国产婷婷香蕉久久久久久99 | 在线电影欧美日韩一区二区私密| 国内精品伊人久久久久av影院 | 亚洲手机视频| 欧美一区二区三区四区在线| 久久精品国产一区二区电影| 老司机午夜精品视频在线观看| 欧美激情国产精品| 欧美极品一区| 久久青青草原一区二区| 欧美成人综合网站| 欧美日韩免费观看一区=区三区| 国产精品久久久久久影视 | 亚洲精品国产品国语在线app | 亚洲美洲欧洲综合国产一区| 在线视频欧美一区| 欧美一区在线视频| 欧美成人亚洲成人| 中文日韩在线| 久久久亚洲成人| 欧美视频中文一区二区三区在线观看| 国产九九精品| 亚洲日韩中文字幕在线播放| 欧美亚洲视频一区二区| 欧美第一黄色网| 亚洲在线成人| 免费成人毛片| 国产亚洲精品资源在线26u| 亚洲精品国产精品国自产观看浪潮| 亚洲一区不卡| 欧美大片免费| 性欧美大战久久久久久久久| 欧美全黄视频| 精品96久久久久久中文字幕无| 99在线精品免费视频九九视| 久久久精品一品道一区| 一区二区欧美视频| 久久综合伊人77777尤物| 国产精品资源| 一区二区黄色| 亚洲高清一二三区| 久久国产手机看片| 欧美视频免费看| 亚洲人成网站在线观看播放| 久久成人综合视频| 中文日韩在线|