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

隨筆 - 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>
            欧美视频一区在线| 久久久久久国产精品mv| 欧美一区二区黄| 久久国产福利国产秒拍| 久久日韩精品| 欧美暴力喷水在线| 亚洲精品护士| 亚洲最新色图| 欧美在线观看日本一区| 久久尤物视频| 欧美视频日韩| 国精品一区二区三区| 91久久夜色精品国产九色| 99综合视频| 欧美一区久久| 欧美国产日韩一区二区| 一区二区日韩精品| 亚洲精品日韩激情在线电影| 久久久999成人| 久久久一区二区三区| 欧美极品在线观看| 国产伦精品一区二区三区高清版 | 中文日韩在线视频| 欧美一区二区三区在线| 欧美精品久久久久久久| 国产日韩欧美在线| 99re8这里有精品热视频免费| 亚洲欧美日韩国产中文| 免费高清在线视频一区·| 一区二区三区精密机械公司| 欧美一区二区三区视频| 欧美日韩精品系列| 亚洲国产成人久久综合一区| 欧美一区二区免费观在线| 亚洲啪啪91| 久久精品日韩| 国产日韩亚洲| 亚洲欧美中文字幕| 亚洲精品乱码久久久久久| 久久久久久高潮国产精品视| 国产乱码精品1区2区3区| 一区二区冒白浆视频| 欧美成人国产| 久久久久久久久伊人| 国产乱码精品一区二区三区忘忧草| 一道本一区二区| 亚洲第一在线视频| 麻豆精品视频在线| 18成人免费观看视频| 久久久国产精彩视频美女艺术照福利| 日韩亚洲欧美综合| 欧美日韩蜜桃| 亚洲深夜av| 中文一区二区| 国产精品日韩一区| 亚洲欧美日韩国产综合在线| 亚洲日本一区二区| 欧美日韩国产探花| 亚洲在线视频观看| 亚洲在线成人| 国产一区二区看久久| 久久精品亚洲一区二区| 先锋亚洲精品| 国产一区二区三区在线观看免费视频| 欧美一区二区三区视频在线观看| 亚洲综合国产激情另类一区| 国产精品日韩久久久| 久久成人精品视频| 久久久99免费视频| 亚洲精品国产日韩| 亚洲精品一二三区| 国产精品免费一区二区三区在线观看 | 久久久久久9| 久久se精品一区二区| 国产专区一区| 欧美国产成人精品| 欧美国产日韩一二三区| 一区二区精品在线观看| 亚洲午夜精品在线| 激情五月婷婷综合| 欧美成人免费全部观看天天性色| 欧美 日韩 国产在线| 9i看片成人免费高清| 亚洲嫩草精品久久| 在线日韩av片| 一区二区三区欧美亚洲| 国产日韩一区二区三区在线播放 | 亚洲蜜桃精久久久久久久| 欧美天堂在线观看| 久久亚洲精品伦理| 欧美日韩在线观看视频| 久久免费视频观看| 欧美日韩国产区一| 久久亚洲一区二区| 国产精品jizz在线观看美国| 久久久久久久一区二区| 欧美精选一区| 麻豆成人综合网| 国产精品国产三级国产普通话蜜臀| 久久精品免费观看| 欧美日韩黄视频| 久久综合九色综合欧美狠狠| 欧美日韩伊人| 亚洲电影免费观看高清完整版在线| 国产精品久久久久9999高清| 亚洲成色777777在线观看影院| 国产精品欧美精品| 亚洲激情在线| 亚洲国产精品悠悠久久琪琪| 午夜精品网站| 亚洲永久免费av| 欧美激情在线播放| 老司机亚洲精品| 国产亚洲精品自拍| 亚洲特黄一级片| 亚洲作爱视频| 米奇777在线欧美播放| 久久性天堂网| 国产在线欧美日韩| 午夜影院日韩| 欧美在线免费观看| 国产精品久久中文| 中文欧美日韩| 亚洲免费视频一区二区| 欧美激情偷拍| 亚洲国产天堂久久综合网| 亚洲第一精品夜夜躁人人躁| 久久精品视频网| 久久男人资源视频| 黄色在线一区| 亚洲看片免费| 美女露胸一区二区三区| 久久性色av| 国语自产偷拍精品视频偷 | 国产小视频国产精品| 亚洲永久字幕| 久久精品导航| 一区二区亚洲| 麻豆91精品| 亚洲国产一区二区三区a毛片 | 欧美一区二区在线免费播放| 国产精品美女www爽爽爽视频| 亚洲人成绝费网站色www| 亚洲看片一区| 欧美午夜寂寞影院| 亚洲视频网在线直播| 久久成人精品无人区| 国内精品视频在线播放| 久久天天综合| 亚洲精品一二三| 午夜久久黄色| 精品成人一区二区三区| 欧美 日韩 国产在线| 日韩亚洲精品视频| 欧美一区二区三区四区视频| 国语自产精品视频在线看抢先版结局| 久久精品一区二区三区不卡牛牛| 狂野欧美激情性xxxx欧美| 亚洲欧洲免费视频| 国产精品伦一区| 久久天天躁狠狠躁夜夜av| 亚洲日本va午夜在线电影| 亚洲欧美日韩一区在线观看| 国内视频精品| 欧美日韩亚洲综合| 久久精品国产99| 亚洲精品黄色| 久久亚洲私人国产精品va| 日韩视频一区二区三区在线播放免费观看 | 亚洲自拍都市欧美小说| 老色鬼精品视频在线观看播放| 亚洲精品乱码久久久久久蜜桃91| 欧美调教vk| 蜜臀91精品一区二区三区| 亚洲特黄一级片| 欧美国产精品| 欧美在线看片| 一本色道久久综合| 亚洲电影视频在线| 国产噜噜噜噜噜久久久久久久久| 免费观看在线综合色| 亚洲欧美在线看| 日韩亚洲视频| 亚洲第一网站免费视频| 久久久国产精品一区二区中文| 一区二区av在线| 亚洲福利在线观看| 国产伦精品一区二区三区免费| 欧美成人日韩| 久久久亚洲精品一区二区三区| 亚洲一品av免费观看| 黄色一区二区三区四区| 久久青草欧美一区二区三区| 一本色道久久| 亚洲第一福利在线观看| 国产精品丝袜91| 欧美日韩亚洲在线| 欧美—级在线免费片| 久久久蜜臀国产一区二区| 亚洲女人天堂av|