简体   繁体   English

Visual Studio 2010:过夜在断点处停止调试器=下一步后冻结

[英]Visual Studio 2010: Stop debugger at breakpoint overnight = Freeze after the next step

I am experiencing freeze issues with Visual Studio if I leave the debugger at a breakpoint overnight and then return the next day to continue (ie F10). 如果我整夜将调试器留在断点处,然后第二天返回以继续(例如F10),我将遇到Visual Studio的冻结问题。

What happens is that not only Visual Studio freezes but the entire computer hangs as well forcing me to restart. 发生的情况不仅是Visual Studio冻结,而且整个计算机都挂起,并迫使我重新启动。 This occurs on a quad core computer which means VS is basically occupying the CPU for all cores. 这发生在四核计算机上,这意味着VS基本上占据了所有核的CPU。

Is there something I can do with stupid bugs like this or do I really have to avoid leaving a debugging process stop at a breakpoint for an extended period of time? 我有什么办法可以解决此类愚蠢的错误,还是真的必须避免使调试过程在断点处长时间停止? I actually do need to do something like this because there are times it'd take hours for a certain break point to hit. 实际上,我确实需要做这样的事情,因为有时要花几个小时才能达到某个断点。

Thanks. 谢谢。

Edit: I am debugging a local project that connects to a remote SQL server. 编辑:我正在调试连接到远程SQL服务器的本地项目。 I never have problem with it if I leave the breakpoint for an hour or so. 如果我离开断点一个小时左右,我永远不会有问题。 The freeze only occurs when I leave it overnight. 冻结只会在我过夜时发生。

Edit2: Problem also occurs if I kill the debugger instead of continuing with it after an overnight breakpoint. Edit2:如果我杀死调试器,而不是在一整夜的断点后继续使用调试器,也会出现问题。

Create a Test Project that is very simple that connect to a remote sql server and this will determine if its the project or the computer. 创建一个非常简单的测试项目,将其连接到远程sql服务器,这将确定它是项目还是计算机。 My first guess would be you need to reinstall windows. 我的第一个猜测是您需要重新安装Windows。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM