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

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

常用鏈接

留言簿(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)輕云淡 閱讀(535) 評(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>
            在线看日韩av| 美女视频黄免费的久久| 久久不射2019中文字幕| 国产伪娘ts一区| 蜜臀av性久久久久蜜臀aⅴ四虎 | 亚洲国产精品久久久久婷婷884 | 亚洲第一色在线| 欧美精品午夜| 亚洲欧美成人一区二区在线电影| 久久久精品2019中文字幕神马| 亚洲成人影音| 欧美色视频日本高清在线观看| 亚洲一区二区日本| 免费观看在线综合色| 在线视频一区观看| 国产婷婷成人久久av免费高清 | 欧美精品久久久久久久免费观看| 日韩一区二区免费高清| 久久久久久伊人| 99精品欧美一区二区蜜桃免费| 国产麻豆综合| 欧美久久一区| 久久久久久一区| 中文在线一区| 亚洲成色www8888| 午夜精品久久| 亚洲精品一二三区| 激情综合自拍| 国产精品免费一区二区三区观看| 免费欧美高清视频| 亚洲欧美高清| 99re视频这里只有精品| 美日韩精品免费| 午夜久久影院| 亚洲视频大全| 亚洲人成在线影院| 国内精品免费在线观看| 国产精品久久国产精品99gif| 麻豆精品传媒视频| 欧美在线视频免费播放| 这里只有精品在线播放| 亚洲高清在线观看| 美女成人午夜| 久久久精品久久久久| 性欧美18~19sex高清播放| 亚洲精品一级| 亚洲国产欧美精品| 国产在线一区二区三区四区 | 国产精品一区二区你懂的| 欧美精品123区| 蜜桃av一区二区三区| 久久精品国产久精国产思思 | 久久噜噜噜精品国产亚洲综合| 亚洲一区二区三区视频播放| 亚洲精品国产精品乱码不99| 亚洲高清视频一区| 欧美国产精品劲爆| 裸体素人女欧美日韩| 久久久伊人欧美| 久久久久这里只有精品| 久久99在线观看| 久久精品日韩欧美| 久久精品99久久香蕉国产色戒 | 久久青青草综合| 久久久噜噜噜久久人人看| 欧美自拍偷拍午夜视频| 久久精彩免费视频| 久久久久看片| 欧美成年人视频| 欧美激情精品久久久久久久变态 | 亚洲免费av电影| 艳女tv在线观看国产一区| 99在线热播精品免费| 在线视频免费在线观看一区二区| 日韩午夜一区| 亚洲一区免费网站| 欧美在线综合视频| 久久综合伊人77777麻豆| 美女久久网站| 欧美精品一区二区三区久久久竹菊 | 午夜视频在线观看一区二区| 欧美伊人久久| 美女网站在线免费欧美精品| 欧美国产一区二区| 一本色道久久88精品综合| 亚洲男人影院| 久久精品亚洲精品国产欧美kt∨| 久久综合九色综合欧美狠狠| 欧美精品二区| 国产精品一区二区三区四区五区| 国产亚洲福利社区一区| 亚洲国产日韩欧美| 亚洲私人影院在线观看| 久久久久成人网| 亚洲国产精品一区二区久| 一区二区三区四区精品| 久久国产精品久久久久久久久久 | 亚洲视频在线免费观看| 欧美一区在线直播| 欧美1区3d| 一区二区三区国产盗摄| 久久国产精品久久国产精品| 欧美精品久久一区| 国产欧美亚洲日本| 亚洲三级免费| 欧美有码视频| 91久久久一线二线三线品牌| 亚洲欧美激情一区二区| 欧美成人精品在线| 国产精品免费一区豆花| 亚洲国产日韩在线一区模特| 亚洲欧美韩国| 亚洲高清中文字幕| 先锋影院在线亚洲| 欧美日本在线播放| 樱花yy私人影院亚洲| 亚洲中午字幕| 亚洲国产精品女人久久久| 亚洲摸下面视频| 欧美日韩成人免费| 伊大人香蕉综合8在线视| 亚洲综合视频1区| 亚洲国产精品久久久久秋霞不卡| 亚洲欧美一区在线| 欧美日韩网址| 亚洲人成人一区二区在线观看 | 欧美aⅴ一区二区三区视频| 亚洲调教视频在线观看| 欧美大片一区二区| 狠狠久久五月精品中文字幕| 亚洲欧美成人精品| 亚洲精品免费在线观看| 久久一区二区三区四区五区| 国产精品视频精品视频| 中文在线资源观看网站视频免费不卡| 久久五月天婷婷| 午夜精品久久久久久久99樱桃| 欧美激情欧美激情在线五月| 尤妮丝一区二区裸体视频| 久久精品夜色噜噜亚洲aⅴ| 亚洲天堂第二页| 欧美日本一区二区视频在线观看| 亚洲高清久久久| 免费看亚洲片| 久久精品国语| 精品成人一区二区三区四区| 久久www成人_看片免费不卡| 亚洲一区图片| 国产精品午夜在线观看| 小黄鸭视频精品导航| 亚洲综合视频一区| 国产精品夜夜夜一区二区三区尤| 亚洲图片欧美午夜| 夜夜嗨av一区二区三区四区 | 久久这里有精品视频| 久久激情中文| 韩国一区二区在线观看| 久久天堂成人| 久久久噜噜噜久久中文字免| 激情欧美一区二区| 欧美顶级大胆免费视频| 久久先锋影音av| 91久久国产综合久久| 亚洲国产日本| 欧美色区777第一页| 亚洲综合日韩| 亚洲欧美在线一区| 黄色成人免费观看| 女仆av观看一区| 欧美sm视频| 正在播放亚洲| 亚洲欧美日韩在线一区| 国产一区二区三区直播精品电影| 久久久xxx| 免费成人在线观看视频| 日韩午夜中文字幕| 中国成人在线视频| 国产一区二区三区av电影| 玖玖精品视频| 欧美全黄视频| 久久av资源网站| 美国十次了思思久久精品导航| 日韩视频中文字幕| 亚洲一区免费网站| 影音先锋在线一区| 亚洲人线精品午夜| 国产乱子伦一区二区三区国色天香 | 蜜桃精品一区二区三区| 亚洲网站视频福利| 午夜欧美不卡精品aaaaa| 亚洲国产精品精华液网站| 99在线|亚洲一区二区| 国产欧美一区二区精品秋霞影院| 蜜桃久久av| 欧美色区777第一页| 久热精品视频在线观看| 欧美日韩在线免费观看| 久久久人成影片一区二区三区| 欧美黄色视屏| 久久久久久久性|