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

隨筆 - 132  文章 - 51  trackbacks - 0
<2012年3月>
26272829123
45678910
11121314151617
18192021222324
25262728293031
1234567

常用鏈接

留言簿(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)輕云淡 閱讀(530) 評(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成人国产| 性欧美videos另类喷潮| 美女图片一区二区| 亚洲国内高清视频| 亚洲国产日韩在线一区模特| 久久视频精品在线| 最新中文字幕亚洲| 亚洲精品社区| 国产精品亚洲综合色区韩国| 久久大逼视频| 你懂的一区二区| 一区二区三区av| 欧美亚洲系列| 亚洲欧洲精品天堂一级| 一本色道久久综合亚洲精品小说| 国产精品久久久久9999吃药| 久久三级福利| 欧美极品在线视频| 午夜影院日韩| 免费在线日韩av| 午夜精品理论片| 久久综合999| 亚洲在线视频| 免费日本视频一区| 香蕉免费一区二区三区在线观看| 久久乐国产精品| 亚洲欧美国产视频| 快射av在线播放一区| 亚洲欧美一区二区视频| 久久精品视频在线看| 亚洲曰本av电影| 美女免费视频一区| 欧美一区三区三区高中清蜜桃 | 亚洲一区二区高清视频| 欧美一区日韩一区| 亚洲视频一区| 蜜桃av综合| 久久国产精品久久国产精品| 欧美极品一区| 模特精品在线| 国产日韩专区| 亚洲一品av免费观看| 亚洲黄色小视频| 久久精品国产欧美亚洲人人爽| 亚洲视屏一区| 欧美激情一区二区三区 | 亚洲精品久久久久久久久久久久久| 一区二区三区日韩欧美| 亚洲理伦电影| 玖玖国产精品视频| 免费一区视频| 国产一区二区三区久久 | 日韩视频不卡| 久久一区二区精品| 久久人人爽爽爽人久久久| 国产精品日韩一区二区| 夜夜嗨网站十八久久| 一本大道久久a久久精二百| 麻豆精品传媒视频| 欧美a级大片| 亚洲高清资源| 久久人人97超碰精品888| 久久久久久久久岛国免费| 国产视频一区二区在线观看| 亚洲字幕一区二区| 欧美一区二区女人| 国产日韩一区二区三区| 性做久久久久久| 久久精品九九| 激情六月婷婷综合| 久久一二三区| 亚洲人成高清| 亚洲视频网在线直播| 欧美无乱码久久久免费午夜一区| 99精品国产高清一区二区| 在线视频你懂得一区| 欧美午夜宅男影院在线观看| 亚洲午夜在线观看视频在线| 午夜一区在线| 精品999日本| 你懂的视频一区二区| 亚洲乱码视频| 午夜日韩在线| 在线日韩av永久免费观看| 欧美成va人片在线观看| 亚洲精品视频啊美女在线直播| 亚洲午夜精品国产| 很黄很黄激情成人| 免费在线亚洲欧美| 一区二区三区不卡视频在线观看| 亚洲欧美成aⅴ人在线观看| 国产亚洲成人一区| 免费成人你懂的| 亚洲午夜精品在线| 久久综合狠狠综合久久综青草 | 国产婷婷色一区二区三区四区| 久久久久五月天| 一区二区高清在线观看| 久久精品视频网| 99热免费精品| 国内成+人亚洲| 欧美日韩国产色站一区二区三区| 亚洲欧美精品伊人久久| 亚洲高清不卡av| 欧美一级视频| 99国产精品久久久| 国产丝袜美腿一区二区三区| 欧美成人黄色小视频| 亚洲综合色自拍一区| 91久久极品少妇xxxxⅹ软件| 午夜久久黄色| 99这里有精品| 亚洲第一成人在线| 国产区二精品视| 欧美日韩国产一区二区三区地区| 久久精品视频va| 亚洲视频大全| 亚洲人成人一区二区三区| 久久免费午夜影院| 欧美一区二区免费观在线| 亚洲美女中文字幕| 亚洲高清网站| 精品999在线播放| 国产欧美精品一区aⅴ影院| 欧美日韩精品在线观看| 狼狼综合久久久久综合网 | 午夜一区二区三视频在线观看 | 亚洲欧美国产高清va在线播| 黄色精品免费| 国产色视频一区| 欧美午夜免费| 欧美日韩高清在线播放| 麻豆精品视频| 久久综合久久88| 久久久久综合一区二区三区| 午夜精品亚洲| 亚洲免费一在线| 亚洲男女自偷自拍图片另类| 亚洲美女中出| 日韩天堂av| 日韩视频免费观看| 99re热这里只有精品视频| 亚洲精品日韩一| 亚洲精品偷拍| 亚洲精品一二三| 亚洲美女免费精品视频在线观看| 亚洲精品裸体| 亚洲免费精彩视频| 一本色道久久综合亚洲精品不卡| 日韩一区二区精品| 夜夜嗨av色综合久久久综合网 | 亚洲成在线观看| 国产欧美日韩一区| 国产伦精品一区二区三区视频黑人 | 欧美精品久久一区二区| 欧美紧缚bdsm在线视频| 欧美日韩国产影片| 欧美三日本三级少妇三2023| 欧美日韩一区二区高清| 国产精品毛片在线| 国内精品视频在线观看| 1024国产精品| 一本色道久久综合亚洲精品婷婷| 亚洲婷婷在线| 久久精品综合网| 亚洲国产成人在线播放| 日韩系列在线| 久久精品欧美日韩精品| 欧美高清视频一区二区三区在线观看 | 亚洲精品国精品久久99热一| 99国产精品久久久久老师| 亚洲自拍电影| 久久永久免费| 国产精品久久久久久福利一牛影视 | 欧美在线播放一区| 欧美激情区在线播放| 国产精品草草| 亚洲成人自拍视频| 亚洲一二三四区| 老司机一区二区三区| 亚洲免费观看在线观看| 久久福利视频导航| 欧美人在线视频| 欧美激情1区2区| 亚洲欧美综合国产精品一区| 欧美va天堂va视频va在线| 国产精品普通话对白| 亚洲韩日在线| 久久gogo国模裸体人体| 最新国产の精品合集bt伙计| 亚洲欧美中日韩| 欧美日韩一区二区三区在线观看免| 国产日本欧美一区二区| 日韩小视频在线观看专区| 久久精品噜噜噜成人av农村| 亚洲美女免费视频| 另类天堂av| 狠狠综合久久av一区二区老牛| 亚洲一区成人| 最新日韩欧美|