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

隨筆 - 132  文章 - 51  trackbacks - 0
<2011年5月>
24252627282930
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 風輕云淡 閱讀(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>
            亚洲美洲欧洲综合国产一区| 欧美成人伊人久久综合网| 亚洲国产精品女人久久久| 久久国产主播精品| 亚洲国产成人久久| 亚洲破处大片| 国产精品视频免费一区| 久久免费视频观看| 女生裸体视频一区二区三区| 日韩天堂av| 亚洲欧美日韩在线不卡| 亚洲高清不卡| 夜夜狂射影院欧美极品| 国产一区91| 亚洲国产裸拍裸体视频在线观看乱了| 欧美激情按摩| 欧美影院成人| 欧美1区2区3区| 午夜久久久久久| 免费永久网站黄欧美| 亚洲网站在线| 久久久精品一区| 亚洲深夜激情| 久久精品视频免费观看| 亚洲免费电影在线观看| 亚洲欧美一区二区三区极速播放 | 亚洲一区制服诱惑| 影音先锋另类| 亚洲欧美精品在线| 亚洲精品视频免费| 欧美专区第一页| 亚洲一区国产| 欧美刺激性大交免费视频| 久久成人18免费网站| 欧美激情第三页| 玖玖视频精品| 国产乱码精品| 日韩一级大片| 亚洲伦理一区| 久久亚洲综合色| 久久国产视频网站| 国产精品xnxxcom| 亚洲日本中文字幕免费在线不卡| 韩国福利一区| 性欧美xxxx视频在线观看| 在线视频一区二区| 欧美激情一二三区| 欧美91福利在线观看| 国产一区二区三区自拍| 亚洲欧美日韩天堂一区二区| 99精品热6080yy久久| 欧美成人69av| 欧美大片免费久久精品三p| 国产亚洲欧美另类一区二区三区| 日韩一级在线观看| 亚洲深夜激情| 亚洲精品三级| 老司机免费视频久久| 蜜臀av性久久久久蜜臀aⅴ| 国产综合婷婷| 久久精品噜噜噜成人av农村| 久久精品综合一区| 激情久久久久久久| 久久久视频精品| 久久伊人一区二区| 亚洲国产精品小视频| 欧美不卡视频一区| 亚洲国产另类 国产精品国产免费| 在线观看日韩专区| 快射av在线播放一区| 欧美激情亚洲激情| 亚洲美女区一区| 欧美日韩另类综合| 一区二区三区四区五区在线| 亚洲欧美日韩一区二区三区在线 | 欧美在线观看你懂的| 久久久精品久久久久| 尤物99国产成人精品视频| 女主播福利一区| 日韩亚洲视频| 欧美自拍偷拍| 亚洲国产小视频| 欧美日韩在线播放三区| 亚洲欧美日韩另类| 欧美大尺度在线| 亚洲无毛电影| 国产网站欧美日韩免费精品在线观看 | 国产精品99久久久久久久久| 国产精品美女久久久久久久| 欧美一区免费视频| 亚洲电影在线看| 亚洲欧美日韩高清| 亚洲电影自拍| 欧美亚一区二区| 久久精品中文字幕一区二区三区| 亚洲第一精品福利| 欧美亚洲综合在线| 亚洲国产成人精品久久| 欧美色道久久88综合亚洲精品| 亚洲欧美一区二区原创| 亚洲国产欧美国产综合一区| 香蕉成人伊视频在线观看| 亚洲成色www8888| 国产精品国产a| 蜜臀99久久精品久久久久久软件| av72成人在线| 欧美成人精品福利| 欧美一乱一性一交一视频| 亚洲精品乱码久久久久久| 国产午夜精品一区二区三区欧美 | 亚洲激情图片小说视频| 国产精品网站在线| 欧美韩日高清| 久久露脸国产精品| 午夜视频精品| 亚洲精品日产精品乱码不卡| 久久综合激情| 亚洲欧美一区二区视频| 99精品国产在热久久婷婷| 狠狠色丁香婷综合久久| 国产精品美女久久久久久2018| 欧美激情一区在线| 狂野欧美一区| 久久久久久**毛片大全| 午夜一区二区三区不卡视频| 亚洲免费黄色| 亚洲精品日韩精品| 欧美激情一区二区| 麻豆精品一区二区综合av| 久久国产综合精品| 亚洲一区久久久| 亚洲视频一起| 在线视频欧美日韩| 日韩午夜中文字幕| 亚洲精选在线| 日韩网站在线看片你懂的| 亚洲欧洲日本专区| 最新国产精品拍自在线播放| 在线欧美视频| 亚洲肉体裸体xxxx137| 136国产福利精品导航网址| 在线成人免费视频| 亚洲电影免费观看高清完整版| 精品二区视频| 最新亚洲一区| 99成人免费视频| 亚洲视频大全| 欧美伊久线香蕉线新在线| 欧美一区二区三区免费看| 久久精品亚洲精品国产欧美kt∨| 欧美在线不卡视频| 久久久999精品| 玖玖视频精品| 亚洲国产一区二区视频| 亚洲免费观看| 亚洲一品av免费观看| 午夜精品一区二区三区四区 | 亚洲精品美女在线观看播放| 一本色道88久久加勒比精品| 亚洲一区影音先锋| 久久久www成人免费毛片麻豆| 久久综合久久美利坚合众国| 欧美黑人多人双交| 国产精品乱码妇女bbbb| 韩国av一区二区| 亚洲日本电影| 午夜一区二区三区在线观看| 久久中文字幕一区| 亚洲欧洲日产国码二区| 午夜电影亚洲| 欧美成人免费在线视频| 欧美午夜视频一区二区| 黑人一区二区三区四区五区| 亚洲精品一区二区三区99| 亚洲制服av| 久久精品视频免费观看| 91久久精品日日躁夜夜躁国产| 日韩一二三区视频| 久久久久.com| 欧美性猛交一区二区三区精品| 国内在线观看一区二区三区| 日韩视频专区| 久久频这里精品99香蕉| 日韩图片一区| 久久亚洲综合网| 国产精品swag| 亚洲精品久久久一区二区三区| 性欧美18~19sex高清播放| 亚洲成人在线视频播放 | 亚洲第一区中文99精品| 亚洲欧美日本精品| 最新国产乱人伦偷精品免费网站 | 亚洲免费av电影| 久久久在线视频| 国产欧美日韩不卡免费| 99在线热播精品免费| 亚洲第一中文字幕在线观看| 欧美一区二区三区久久精品茉莉花| 欧美片在线观看| 亚洲国产美女|