Visual Studio 2010 加载符号所需的时间太长,无法删除符号文件位置
Visual Studio 需要花费大量额外时间来加载外部 dll 的符号,而我不想加载这些符号。我摆弄了 VS2008 中的符号设置,这些设置似乎影响了 VS2010
如何阻止它加载第 3 方符号?
我尝试过:
- devenv /resetuserdata
- 工具>选项>调试>符号(我无法删除或取消选中以下位置的 pdb 文件位置:“环境变量:_NT_SYMBOL_PATH”)
- 我已清除上述位置,如下所示: set _NT_SYMBOL_PATH=
实际上这产生了巨大的差异(以前是 SRVc:\symbolshttp://msdl.microsoft.com/download/symbols" rel="noreferrer">http:// /msdl.microsoft.com/download/symbols) - 我已经删除了以下位置的所有内容:%localappdata%\Temp\Temporary ASP.NET Files\root\
下一步将是 VS 重新安装,如果失败重新安装操作系统,但如果每次按下调试按钮都能节省 14 秒,那就值得了。
Visual Studio takes a lot of extra time loading symbols for external dlls which I'd rather not load. I have fiddled with my symbol settings in VS2008 and these settings seem to be affecting VS2010
How do I stop it loading 3rd party symbols?
I've tried:
- devenv /resetuserdata
- Tools > Options > Debugging > Symbols (I can't remove or uncheck the pdb file location of: "Environment Variable: _NT_SYMBOL_PATH")
- I've cleared the above location like so: set _NT_SYMBOL_PATH=
actually this made a huge difference (it was previously SRVc:\symbolshttp://msdl.microsoft.com/download/symbols) - I've deleted everything from: %localappdata%\Temp\Temporary ASP.NET Files\root\
The next thing would be a VS re-install, failing that an OS re-install, but if it saves me 14 seconds every time I press debug it would be worth it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
尝试 调试 ->删除所有断点
Try Debug -> Delete All Breakpoints
值得尝试的事情
d:\refsrc\symbols
作为添加位置Things to try
d:\refsrc\symbols
as an added location我也有这个烦恼。我认为我没有设置 _NT_SYMBOL_PATH 但不知何故它被设置为我使用 WinDbg 时使用的路径。我通过从 SysInternals Suite 运行 ProcMon 来解决这个问题,并过滤掉除 DevEnv.exe 之外的所有内容,并查看在调试我的应用程序时它试图访问哪些文件。
我删除了 _NT_SYMBOL_PATH 环境,重新启动 VS,一切都按预期运行。
我提供这个并不是为了最初问题中提供的答案,而是作为如何找出问题所在的指导。
I had this trouble too. I did not think that I had set _NT_SYMBOL_PATH but somehow it was set to the path I use when using WinDbg. I figured this out by running ProcMon from the SysInternals Suite and filtered out everything except DevEnv.exe and saw what files it was trying to access when debugging my application.
I deleted the _NT_SYMBOL_PATH environmental, restarted VS and everything runs like it should.
I offer this not so much for the answer which was supplied in the initial question but as guidance on how to figure out what was wrong.
对于我来说,我之前已经打开了“调试”->“调试”。符号->当我完成某个特定项目时,所有模块都忘记将其关闭。关闭此设置极大地缩短了我的加载时间。
For me, I had previously turned on Debugging -> Symbols -> All modules and forgot to turn it off when I was done with a particular project. Turning off this setting greatly improved my load times.
我也有这个烦恼。我很容易修复它。只需执行:调试 -> 选项和设置 -> 符号。在符号中,我选中了仅指定的模块。一切又恢复正常了。希望这有帮助。
I had this trouble too. And I fix it easily. Just do: Debug->Options and Settings->Symbols. In Symbols I checked Only Specified Modules. Everything works fine again. Hope this helps.