[VS调试]VS2010 VS2012调试时显示加载符号导致调试特别慢
2014-04-22 09:16
441 查看
下午睡多了,编个小程序(探索形式)搞到现在,遇到一个不爽的问题就是调试时加载很慢,这次百度终于解决了。
打开”调试”–>”选项”看下图:
将那个”勾”去掉确定即可!按下F5调试,瞬间开始了。
如果还有问题,可以试试VS2010官方论坛上提到的解决方法:
You can speed up loading of symbols by doing the following:
1. Verify that you haven’t specified any network shares under Tools->Options->Debugging->Symbols especially to server that do not exist anymore. This will require timeouts.
2. Verify and check that _NT_SYMBOL_PATH or _NT_ALT_SYMBOL_PATH is set to network shares as cg60611 pointed out above.
3. Specify a local cache for symbols in Tools->Options->Debugging->Symbols. 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.
4. Do not specify any symbol lookup paths at all eithe 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 callstack or the modules window.
5. VS 2008 SP1 has made a few improvements in this area. It allows for cancelling 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.
打开”调试”–>”选项”看下图:
将那个”勾”去掉确定即可!按下F5调试,瞬间开始了。
如果还有问题,可以试试VS2010官方论坛上提到的解决方法:
You can speed up loading of symbols by doing the following:
1. Verify that you haven’t specified any network shares under Tools->Options->Debugging->Symbols especially to server that do not exist anymore. This will require timeouts.
2. Verify and check that _NT_SYMBOL_PATH or _NT_ALT_SYMBOL_PATH is set to network shares as cg60611 pointed out above.
3. Specify a local cache for symbols in Tools->Options->Debugging->Symbols. 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.
4. Do not specify any symbol lookup paths at all eithe 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 callstack or the modules window.
5. VS 2008 SP1 has made a few improvements in this area. It allows for cancelling 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.
相关文章推荐
- [VS调试]VS2010 VS2012调试时显示加载符号导致调试特别慢
- [VS调试]VS2010 VS2012调试时显示加载符号导致调试特别慢
- [VS调试]VS2010 VS2012调试时显示加载符号导致调试特别慢
- VS2010 VS2012调试时显示加载符号导致调试特别慢
- VS2010 VS2012调试时显示加载符号导致调试特别慢
- VS2010 VS2012 VS2013 VS2015启动调试时老是提示正在下载公共符号
- VS2017调试代码显示“当前无法命中断点,还没有为该文档加载任何符号”
- MATLAB和VS混合编程,调试C程序设置的断点显示“当前不会命中断点 还没有为该文档加载任何符号”
- VS2013 C# .net 调试 无法加载符号 断点不命中
- VS2013代码调试:[7]如何避免调试时加载符号
- vs调试dll 当前不会命中断点 还没有为该文档加载任何符号
- VS2013调试时符号加载的问题
- vs2013调试时总是要加载公共符号
- 关于VS调试时的加载符号
- vs2017用F5调试时js,css文件不能加载导致的问题解决
- VS2013代码调试:如何避免调试时加载符号
- 其他浏览器导致VS2008网站调试时导致“当前不会命中断点,还没有为该文档加载任何符号”
- 正在从以下位置加载符号 VS 调试非常慢
- vs2010 调试程序加载符号慢
- VS调试时出现“加载符号缓慢的问题”