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

隨筆 - 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>
            一区在线免费| 亚洲国产欧美一区| 久久国产欧美精品| 久久久久久尹人网香蕉| 亚洲风情亚aⅴ在线发布| 亚洲高清视频的网址| 麻豆成人在线观看| aa日韩免费精品视频一| 99精品视频免费全部在线| 欧美三级网址| 久久久久久尹人网香蕉| 免费在线观看成人av| 亚洲私人黄色宅男| 欧美一区91| 最新亚洲视频| 亚洲免费视频一区二区| 在线观看日韩专区| 国产一区二区三区观看| 亚洲国产精品久久久久久女王| 欧美激情中文字幕一区二区| 性欧美xxxx大乳国产app| 久久免费精品日本久久中文字幕| 亚洲精品久久久久久下一站| 一本色道久久综合亚洲精品高清 | 欧美成在线视频| 欧美日韩精品二区| 久久综合狠狠综合久久综青草| 欧美激情第三页| 久久裸体视频| 国产精品久久久免费| 欧美韩国日本综合| 国产视频欧美| 99精品免费网| 亚洲精品一区二区三区在线观看| 亚洲欧美日韩在线一区| 99精品视频一区二区三区| 欧美一区二区私人影院日本| 亚洲午夜精品国产| 欧美激情一区二区久久久| 久久在线播放| 国产亚洲一区二区三区在线播放| 亚洲精品视频在线播放| 国产一区深夜福利| 亚洲综合丁香| 亚洲综合精品一区二区| 欧美高清在线播放| 欧美成人有码| 在线成人av网站| 久久爱www久久做| 欧美一区国产二区| 国产精品欧美日韩| 亚洲视频一区在线| 亚洲在线观看视频网站| 欧美麻豆久久久久久中文| 欧美韩国日本一区| 亚洲欧洲综合另类在线| 久久琪琪电影院| 免费精品视频| 亚洲国产裸拍裸体视频在线观看乱了中文| 午夜精品福利一区二区三区av | 亚洲黄色性网站| 久久午夜精品| 亚洲国产精品成人va在线观看| 又紧又大又爽精品一区二区| 欧美一区激情| 免费黄网站欧美| 亚洲日本aⅴ片在线观看香蕉| 美女诱惑一区| 亚洲人成在线观看网站高清| 日韩一级精品视频在线观看| 欧美激情亚洲国产| 一本色道88久久加勒比精品| 亚洲一区视频在线观看视频| 国产精品电影在线观看| 亚洲欧美日本在线| 美日韩精品免费| 亚洲精品一二| 国产精品成人一区二区艾草| 亚洲综合日韩| 久久亚洲综合色| 亚洲美女区一区| 欧美午夜片欧美片在线观看| 亚洲制服少妇| 裸体歌舞表演一区二区| 亚洲日本视频| 国产精品视频在线观看| 欧美一区2区三区4区公司二百 | 亚洲一区免费观看| 国产一区二区三区四区在线观看| 久久久久欧美精品| 日韩视频不卡| 久久蜜桃资源一区二区老牛| 亚洲狠狠婷婷| 国产色爱av资源综合区| 欧美 亚欧 日韩视频在线| 在线亚洲免费| 欧美国产日产韩国视频| 亚洲在线观看| 亚洲国产精品成人综合| 欧美日韩国产综合在线| 欧美在线观看视频| 亚洲美女av网站| 噜噜噜躁狠狠躁狠狠精品视频 | 亚洲国产一区二区三区高清| 欧美视频中文字幕在线| 久久综合九色99| 一区二区三区欧美在线观看| 老司机午夜精品视频| 亚洲尤物视频网| 亚洲精品一区二区三区福利 | 另类欧美日韩国产在线| 亚洲视频www| 亚洲精品日韩欧美| 欧美超级免费视 在线| 欧美一级视频| 99精品久久免费看蜜臀剧情介绍| 国产一区二区三区四区老人| 欧美日韩一区在线| 欧美精品亚洲| 美女精品自拍一二三四| 午夜精品亚洲一区二区三区嫩草| 亚洲高清不卡在线观看| 久久综合九色综合欧美狠狠| 午夜欧美理论片| 亚洲一区二区伦理| 9色国产精品| 日韩亚洲欧美一区二区三区| 影视先锋久久| 在线视频成人| 1000部精品久久久久久久久| 国产自产v一区二区三区c| 国产精品一二三四| 国产精品专区第二| 国产精品亚洲视频| 国产精品一区毛片| 国产日韩欧美一区二区| 国产喷白浆一区二区三区| 国产精品男女猛烈高潮激情| 欧美色视频在线| 欧美性做爰猛烈叫床潮| 欧美体内she精视频在线观看| 欧美日韩国产在线一区| 欧美日韩中字| 国产精品久久久久久久久免费桃花 | 免费日韩av| 欧美11—12娇小xxxx| 欧美成人午夜剧场免费观看| 欧美大片一区二区三区| 91久久精品日日躁夜夜躁国产| 亚洲国产99精品国自产| 最新国产乱人伦偷精品免费网站| 亚洲国产精品久久久久婷婷老年 | 欧美一区二区三区日韩| 欧美一区二区视频在线观看| 久久精品一区中文字幕| 久久免费少妇高潮久久精品99| 久久精品亚洲一区| 另类春色校园亚洲| 亚洲欧洲美洲综合色网| 亚洲精品视频在线观看免费| 亚洲手机视频| 欧美在线免费观看视频| 久久米奇亚洲| 欧美日韩亚洲系列| 国产伦一区二区三区色一情| 激情久久久久久久| 亚洲理论在线| 香蕉乱码成人久久天堂爱免费 | 99re6这里只有精品| 亚洲免费综合| 猫咪成人在线观看| 亚洲人午夜精品免费| 亚洲免费在线观看| 欧美91精品| 国产日韩一区在线| 日韩午夜激情电影| 久久精品视频va| 亚洲人成久久| 久久国产欧美日韩精品| 欧美精品1区| 国内精品99| 亚洲欧洲av一区二区| 欧美风情在线| 亚洲欧美日韩一区二区三区在线| 蜜臀99久久精品久久久久久软件| 国产精品户外野外| 91久久精品美女高潮| 久久久久久久精| 一本色道久久加勒比精品| 久久一二三四| 国产一区二区看久久| 艳妇臀荡乳欲伦亚洲一区| 久热re这里精品视频在线6| 亚洲视频久久| 欧美女同视频| 亚洲欧洲日本国产| 免费成人黄色片| 校园春色综合网| 国产精品久久久一区二区| 亚洲免费观看在线观看|