MSVC.NET的监视窗口闪烁,开始缓慢调试,快速更新 [英] MSVC.NET starts debugging slowly with watch window flashing, rapidly updating

查看:116
本文介绍了MSVC.NET的监视窗口闪烁,开始缓慢调试,快速更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有时候我按下F5时,我的MSVC.Net启动C ++调试会话的速度很慢.
随着闪烁,我可以看到监视窗口迅速更新.

一旦我遇到一个断点,或者单击Break-All然后Go,一切都很好.大约有75%的时间会发生这种情况.我还没有看到何时发生或未发生任何模式.

我清除了监视窗口,但这并没有真正的帮助.也就是说,它并没有那么慢,但是窗口仍在快速重绘.


Chris

解决方案

<您好,

我们尚不清楚您是否真的有符号服务器,但总的来说,发生此问题的原因可能是因为花费了很多时间来搜索符号.
要检查您是否有符号服务器,您可以可以检查您的环境变量并查看是否有一个名为_NT_SYMBOL_PATH的变量.
如果您没有符号服务器,但已启用它,则尝试通过编辑符号文件(.pdb)位置"来禁用它. ;在工具"->选项..."-调试"-符号"中.
有关更多可能的解决方法,请在此处参阅我们论坛中的主题:
http://social.msdn.microsoft .com/Forums/zh-CN/vsdebug/thread/d9f02792-050c-49e7-9aa8-daafc2ecb3a3/

否则,请您向我们提供更多信息吗?
1.是本机C ++还是托管C ++?
1.请提供您的VC的详细版本,这可以帮助我们重现此问题.
2.请重现此问题的详细步骤.
3.请输入您的操作系统信息.
4.遇到此问题时会提示您输入的其他信息,例如,是否弹出任何对话框?或在构建项目时出现任何错误消息?
希望能对您有所帮助!
最诚挚的问候,


Sometimes when I hit F5, my MSVC.Net is slow to start a C++ debug session.
I can see the watch window rapidly updating, as it is flashing. It looks like it is being constantly redrawn.

Once I hit a breakpoint, Or click on Break-All then Go, everything is just fine. This happens roughly 75% of the time. I haven't seen any pattern to when it happens or doesn't happen. 

I cleared out my watch window, but that didn't really help. That is, it wasn't quite as slow, but the window was still being rapidly redrawn.

 


Chris

解决方案

Hello,

We are not quite clear whether you really have a symbol server, but in general, this issue happened might be because of the time being spent on searching for the symbols.
To check if you have a symbol server, you could check your environment variables and see if there is a variable named: _NT_SYMBOL_PATH.
If you don't have a symbol server but enabled it, then, try to disable it by editing the "Symbol file (.pdb) location" in "Tools"->"Options..."->"Debugging"->"Symbols".
For more probable workaround, please refer to the thread in our forum here:
http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/d9f02792-050c-49e7-9aa8-daafc2ecb3a3/

Otherewise, could you please provide us with more information?
1. Is it native C++ or managed C++?
1. The detail version of your VC please, this could help us reproduce the issue.
2. The detail steps to reproduce the issue, please.
3. Your Operating System's information, please.
4. Other information you caputured when you encountered this issue, say, does there any dialog box pop up? or any error messages when building the project?
Hoping that could help!
Best regards,


这篇关于MSVC.NET的监视窗口闪烁,开始缓慢调试,快速更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆