VS2005启动调试器很慢的解决办法
来源:互联网 发布:阿里云生态合作伙伴 编辑:程序博客网 时间:2024/04/29 12:25
不知从何时开始,用VS2005断点调试启动特别慢,而且不同的机器表现还不一样。网上搜索到了解决办法:
I don’t know if I’ve been spoilt by the lazy symbol loading in WinDbg, but it seems incredibly slow to start up unmanaged processes under Visual Studio 2005. It spends a huge amount of time attempting to load symbols for every single DLL that gets loaded. As far as I can tell it doesn’t do any caching or recording of the fact that symbols aren’t available for specific binaries. It just blindly tries every time.
Anyway, I’ve found a way to improve matters slightly. It turns out you can use the symbol server DLL - symsrv.dll - from the most recent version of WinDbg (6.6.3.5 at the last check) to replace the version that ships with Visual Studio 2005.
One of the additional features that the WinDbg version offers in the exclusions list. You can use this to avoid loading symbols for anything other than the DLL under test. Simply copy the DLL into C:\Program Files\Microsoft Visual Studio 8\Common7\IDE and create a symsrv.ini file with the following contents:
[exclusions]
*.*
Anyway, I’ve found a way to improve matters slightly. It turns out you can use the symbol server DLL - symsrv.dll - from the most recent version of WinDbg (6.6.3.5 at the last check) to replace the version that ships with Visual Studio 2005.
One of the additional features that the WinDbg version offers in the exclusions list. You can use this to avoid loading symbols for anything other than the DLL under test. Simply copy the DLL into C:\Program Files\Microsoft Visual Studio 8\Common7\IDE and create a symsrv.ini file with the following contents:
[exclusions]
*.*
实验证明确实如此!
0 0
- VS2005启动调试器很慢的解决办法
- VS2005 “无法启动调试,绑定句柄无效”的解决办法
- VS2005无法调试的解决办法
- vs2005的调试错误:无法启动调试,绑定句柄无效 解决办法
- vs2005关于:无法启动调试 绑定句柄无效 的解决办法 [整理]
- VS2005 调试不能设置断点的解决办法
- VS2005 调试不能设置断点的解决办法
- VS2005 调试不能设置断点的解决办法
- VS2005 调试不能设置断点的解决办法
- VS2005断点无效 调试无效的解决办法!
- VS2005 调试不能设置断点的解决办法
- VS2005“无法启动调试。绑定句柄无效”错误解决办法
- VS2005无法启动调试的解决方案
- 【转】VS2005无法启动调试的解决方案
- IE8下面不能启动VS2005的调试
- windows7 vs2005启动调试无效的解决方法
- VS2005无法启动调试
- VS2005无法启动调试
- 能从点(1,1)跳到点(a,b)吗
- Ubuntu编译Wireshark
- 微信公众平台博客
- char、nchar、varchar、nvarchar、text、ntext的区别
- dwr WebContextFactory 工厂模式
- VS2005启动调试器很慢的解决办法
- ios项目生成ipa文件的真正简单可用的方法
- OpenCV形态学操作
- Apache ActiveMQ 集群配置方法
- Powdesign15连接sql2005相关
- Linux下删除无用的(很久没有访问或者修改)的文件
- Xcode键盘快捷键
- NoSQL数据库的35个应用场景
- 如何把linux默认自带的openJDK改为oracle的JDK