简体   繁体   English

调试 x64 应用程序时 Visual Studio 2010 冻结

[英]Visual Studio 2010 freezes when debugging x64 application

Recently, my coworker and I upgraded our development environment to Win7 x64 with VS2010 Pro.最近,我和我的同事用 VS2010 Pro 将我们的开发环境升级到了 Win7 x64。 Our application is specifically targeted at x64 platform.我们的应用程序专门针对 x64 平台。

The problem we are encountering is during debugging, when attempting to step through the code (F10), at least 50% of the time VS will simply lock up the application being debugged.我们遇到的问题是在调试过程中,当尝试单步执行代码(F10)时,至少 50% 的时间 VS 会简单地锁定正在调试的应用程序。 The IDE has the appearance of having pressed F5, but the application is not responsive and we have to force stop the application. IDE有按F5的外观,但应用程序没有响应,我们不得不强制停止应用程序。

Our application is a Client (GUI) and a Server that communicate through .NET remoting.我们的应用程序是一个客户端 (GUI) 和一个服务器,它们通过 .NET 远程处理进行通信。

This is starting to directly affect our productivity, so if anyone has any ideas what may be causing this, please let me know.这开始直接影响我们的生产力,所以如果有人有任何想法可能导致这种情况,请告诉我。

I had a similar problem.我有一个类似的问题。 it turned out that a higher level program had a different run-time library (multi-threaded debug dll), while my app was simply a multi-threaded debug.事实证明,一个更高级别的程序有一个不同的运行时库(多线程调试 dll),而我的应用程序只是一个多线程调试。 Once I converted mine to a multi-threaded debug dll, the freeze stopped happening.一旦我将我的转换为多线程调试 dll,冻结就停止了。

There is an outside chance that it might be the debug symbols loading.有可能是调试符号加载的外部机会。 Check the status bar I think it tells you when the symbols are loading.检查状态栏,我认为它会告诉您符号何时加载。

This may be a moot point, but have you installed the VS 2010 service pack 1?这可能是一个有争议的问题,但您是否安装了 VS 2010 服务包 1?

There are various bugfixes related to debuggers included.包含与调试器相关的各种错误修正。

http://support.microsoft.com/kb/983509 http://support.microsoft.com/kb/983509

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

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