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

隨筆 - 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>
            久久国产一区二区| 激情欧美丁香| 欧美国产一区二区| 国产欧美日韩一区二区三区在线观看| 亚洲高清在线视频| 国产综合精品一区| 亚洲综合丁香| 亚洲中字黄色| 欧美日在线观看| 亚洲黄色在线观看| 在线播放亚洲| 久久黄色小说| 久久福利一区| 国产亚洲精品资源在线26u| 亚洲一级片在线观看| 亚洲一级免费视频| 欧美日韩中国免费专区在线看| 欧美福利在线| 91久久国产精品91久久性色| 久久综合精品一区| 欧美成人网在线| 亚洲二区在线| 欧美暴力喷水在线| 亚洲国产乱码最新视频| 亚洲美女在线看| 欧美国产大片| 亚洲精品一区二| 国产精品99久久久久久久久久久久 | 欧美一区二区三区的| 欧美一区午夜视频在线观看| 国产精品羞羞答答xxdd| 亚洲欧美视频一区二区三区| 欧美亚洲综合在线| 好吊色欧美一区二区三区视频| 欧美一级专区免费大片| 免费成人毛片| 亚洲美女中文字幕| 欧美偷拍一区二区| 亚洲一区中文| 久久综合五月天婷婷伊人| 一色屋精品视频在线看| 男女av一区三区二区色多| 亚洲人www| 欧美淫片网站| 亚洲国产精品va| 欧美少妇一区| 欧美亚洲免费电影| 欧美a级片网| 在线一区二区日韩| 国产人久久人人人人爽| 老司机67194精品线观看| 亚洲精品一区二区在线| 欧美中日韩免费视频| 影音先锋久久资源网| 欧美日韩在线另类| 久久精品成人一区二区三区| 亚洲激情第一页| 欧美一级一区| 亚洲精品字幕| 黄色欧美成人| 欧美日韩视频第一区| 欧美一区二区三区电影在线观看| 亚洲第一二三四五区| 午夜在线观看免费一区| 亚洲国产人成综合网站| 国产伦理一区| 欧美黄色小视频| 久久成年人视频| 夜夜嗨av一区二区三区网页| 免费成人你懂的| 欧美在线亚洲综合一区| 这里只有精品丝袜| 伊人影院久久| 国产日韩综合一区二区性色av| 欧美国产日本高清在线| 欧美一区2区视频在线观看| 亚洲精选中文字幕| 欧美激情国产日韩| 久久大逼视频| 亚洲欧美一区二区三区极速播放| 亚洲国产老妈| 曰韩精品一区二区| 国产视频一区三区| 国产精品sss| 欧美日本三级| 欧美mv日韩mv国产网站app| 久久精品国产综合| 午夜免费久久久久| 亚洲香蕉视频| 在线亚洲电影| 99精品国产99久久久久久福利| 欧美刺激午夜性久久久久久久| 久久久www成人免费无遮挡大片| 亚洲资源av| 亚洲午夜激情网页| 一本大道av伊人久久综合| 亚洲国产精品ⅴa在线观看 | 欧美三级视频在线播放| 欧美激情一区二区三级高清视频| 另类综合日韩欧美亚洲| 久久久久久久久蜜桃| 欧美一区网站| 久久成年人视频| 欧美伊人久久久久久久久影院| 午夜精品久久久久久| 欧美一激情一区二区三区| 性伦欧美刺激片在线观看| 亚洲女同在线| 欧美在线地址| 久久久精品日韩| 久久性色av| 欧美国产日韩xxxxx| 欧美精品一区二区三区视频| 欧美另类一区| 欧美日韩在线免费| 国产精品实拍| 狠狠爱综合网| 亚洲欧洲三级| 国产精品99久久不卡二区| 亚洲欧美日韩一区在线| 欧美一区二视频| 美女尤物久久精品| 亚洲黄色免费网站| 夜夜嗨av一区二区三区网页| 亚洲自拍三区| 久久亚洲一区二区| 欧美日韩精品一区二区在线播放 | 久久久另类综合| 欧美大学生性色视频| 欧美日韩在线不卡| 国产性天天综合网| 亚洲国产综合91精品麻豆| 在线一区亚洲| 久久视频在线视频| 亚洲黄色成人| 亚洲一区制服诱惑| 免费看亚洲片| 国产精品入口66mio| 在线观看一区视频| 亚洲在线成人精品| 久热国产精品视频| 一本一本久久| 久久久久九九九九| 欧美午夜不卡在线观看免费 | 在线亚洲观看| 久久综合伊人| 一区二区欧美日韩| 久久性天堂网| 国产美女精品人人做人人爽| 在线观看福利一区| 亚洲欧美日韩在线一区| 欧美xx69| 性色av一区二区三区在线观看| 老司机精品视频网站| 国产精品视频福利| 亚洲精品国产精品国自产观看| 欧美一级视频| 999亚洲国产精| 欧美va日韩va| 精品999网站| 欧美在线电影| 一区二区三区视频在线| 欧美成人在线影院| 一区视频在线| 久久精品国产免费| 一区二区久久久久| 欧美看片网站| 最新国产成人av网站网址麻豆 | 欧美黄色免费| 欧美在线短视频| 国产精品男女猛烈高潮激情| 99国产精品自拍| 亚洲电影天堂av| 久久精品国产久精国产一老狼 | 亚洲男女自偷自拍| 亚洲精品一区二区三区99| 嫩草成人www欧美| 激情欧美日韩| 久久永久免费| 久久久精品动漫| 好吊妞**欧美| 久久综合九色九九| 午夜亚洲精品| 国产精品影片在线观看| 亚洲一区影院| 亚洲一区三区视频在线观看| 欧美日韩另类字幕中文| 一本色道久久综合狠狠躁的推荐| 亚洲国产成人精品久久| 美女脱光内衣内裤视频久久影院| 亚洲第一久久影院| 欧美成人久久| 欧美成年人视频网站| 亚洲欧洲日本国产| 亚洲国产一成人久久精品| 欧美另类变人与禽xxxxx| 一区二区三区高清视频在线观看| 亚洲精品久久久久久久久久久 | 欧美成人免费播放| 日韩视频中文|