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

隨筆 - 132  文章 - 51  trackbacks - 0
<2010年10月>
262728293012
3456789
10111213141516
17181920212223
24252627282930
31123456

常用鏈接

留言簿(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)輕云淡 閱讀(532) 評論(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>
            亚洲精品国产精品国自产在线| 麻豆精品视频在线| 久久久www免费人成黑人精品| 一区二区三区在线高清| 欧美国产综合一区二区| 这里只有精品在线播放| 久久久久久亚洲综合影院红桃| 亚洲国产精品一区二区第一页| 欧美日韩在线播| 欧美伊人久久久久久午夜久久久久| 欧美激情第1页| 欧美亚洲一区| 亚洲麻豆av| 国内精品一区二区三区| 欧美日韩喷水| 久久综合色综合88| 亚洲欧美中文日韩v在线观看| 欧美激情第10页| 久久精品中文字幕一区二区三区| 日韩一区二区高清| 精品96久久久久久中文字幕无| 欧美日韩在线亚洲一区蜜芽| 久久青草久久| 午夜精品免费视频| 日韩午夜电影| 欧美岛国激情| 久久久久久伊人| 亚洲综合丁香| 99riav1国产精品视频| 激情成人亚洲| 国产精品日日摸夜夜添夜夜av| 欧美电影在线观看完整版| 亚洲欧美日韩专区| 一区二区三区欧美日韩| 亚洲国产日韩欧美在线图片 | 亚洲欧美日本视频在线观看| 亚洲人体1000| 欧美国产精品v| 久久久在线视频| 亚洲欧美日韩国产成人| 日韩午夜在线观看视频| 亚洲国产二区| 亚洲国产精品va在看黑人| 韩国av一区| 国产亚洲成av人片在线观看桃| 欧美日韩中文字幕| 欧美日韩国产大片| 美女视频网站黄色亚洲| 久久国产精品黑丝| 欧美一区2区三区4区公司二百| 亚洲一区二区四区| 亚洲无吗在线| 亚洲私人影吧| 亚洲视频专区在线| 亚洲视频在线视频| 99视频国产精品免费观看| 亚洲片在线观看| 亚洲激情影院| 亚洲肉体裸体xxxx137| 欧美黄色免费网站| 欧美激情四色| 亚洲国产你懂的| 亚洲国产精品黑人久久久| 亚洲第一区在线观看| 欧美激情一区二区三区全黄| 欧美激情无毛| 日韩一级黄色片| 这里是久久伊人| 亚洲一级电影| 亚洲午夜伦理| 亚洲欧美不卡| 性视频1819p久久| 久久精品夜色噜噜亚洲a∨| 久久久xxx| 欧美成人69av| 欧美日韩视频专区在线播放| 国产精品jizz在线观看美国| 国产精品视频免费观看www| 国产色爱av资源综合区| 一区二区三区在线观看国产| 亚洲电影在线看| 亚洲美女啪啪| 亚洲性视频网站| 亚洲欧美国内爽妇网| 久久精品视频在线播放| 欧美成人午夜| 亚洲第一毛片| 亚洲视频精品在线| 久久精品伊人| 欧美精品系列| 国产女同一区二区| 在线观看日韩av电影| 亚洲免费观看视频| 午夜一区二区三视频在线观看 | 久久久久久夜| 欧美激情精品久久久久| 亚洲精品乱码久久久久久久久| 一二三区精品| 久久激情综合| 欧美日韩国产系列| 国产色爱av资源综合区| 亚洲日本中文字幕| 一区二区日韩| 久久久久久久网| 亚洲另类自拍| 久久久精品久久久久| 欧美精品在线视频| 国产午夜久久久久| 一区二区福利| 久久最新视频| 一区二区三区精品在线 | 国产乱码精品1区2区3区| 在线日韩av永久免费观看| 亚洲午夜一区| 欧美不卡福利| 亚洲免费一在线| 欧美国产日韩一二三区| 国产日韩欧美在线视频观看| 日韩一级精品| 牛牛影视久久网| 在线视频精品一| 欧美ab在线视频| 国产一区亚洲一区| 亚洲欧美国产精品桃花| 亚洲国产欧美一区二区三区久久| 午夜欧美精品久久久久久久| 欧美国产免费| 在线成人免费视频| 欧美在线视频一区二区| 亚洲精品国产精品久久清纯直播 | 中文亚洲免费| 亚洲第一天堂无码专区| 欧美一区二区大片| 欧美体内she精视频| 亚洲人成亚洲人成在线观看| 久久久久久高潮国产精品视| 亚洲深夜av| 欧美日韩成人| 亚洲国产精品一区在线观看不卡| 久久激情久久| 亚洲视频网在线直播| 欧美另类极品videosbest最新版本| 尤物精品在线| 久久夜色撩人精品| 午夜精品久久久久久99热| 国产精品99免费看| 一区二区高清视频| 最新国产乱人伦偷精品免费网站| 久久嫩草精品久久久精品一| 黄色亚洲精品| 麻豆精品网站| 久久久久久久久久久一区| 国产亚洲日本欧美韩国| 欧美在线免费| 午夜宅男久久久| 国产伦一区二区三区色一情| 亚洲欧美日韩国产综合| 亚洲素人一区二区| 国产精品女主播| 午夜精品久久久久久久久久久久久 | 欧美一区二区在线观看| 国产女主播视频一区二区| 欧美在线看片a免费观看| 午夜亚洲福利| 国产中文一区二区| 久久亚洲影院| 老司机精品福利视频| 亚洲国产成人精品久久| 免费黄网站欧美| 免费不卡中文字幕视频| 亚洲精品一区二区三区不| 亚洲激情另类| 欧美另类极品videosbest最新版本 | 亚洲精品日本| 亚洲欧洲综合另类| 欧美日韩国产一级片| 亚洲天堂网站在线观看视频| 亚洲午夜小视频| 国产亚洲成精品久久| 久久夜色精品亚洲噜噜国产mv| 久久久亚洲精品一区二区三区| 在线看片一区| 亚洲国产成人精品视频| 欧美国产日韩一区| 亚洲少妇诱惑| 亚洲一级二级在线| 黄色亚洲在线| 欧美国产一区二区| 免费黄网站欧美| 亚洲视频一二三| 亚洲欧美国产精品专区久久| 国产一区二区中文字幕免费看| 久久综合九色欧美综合狠狠| 欧美77777| 午夜久久久久久久久久一区二区| 久久xxxx精品视频| 亚洲精品无人区| 亚洲永久视频| 亚洲第一网站| 一区二区日韩免费看|