Visual Studio 2010在调试应用程序时挂起 [英] Visual Studio 2010 Hangs When Debugging App

查看:91
本文介绍了Visual Studio 2010在调试应用程序时挂起的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好。



如标题所示。

它刚刚开始发生在今天早上,但它接着要做到这一点只有一个解决方案。



但是我不想重新创建解决方案(但可能只是为了看看是否能修复它)。



是什么导致这种情况?

i尝试添加一个虚拟win32控制台应用程序,看看它是否只是一个项目,但它也会使IDE变为现实。



有什么建议吗?



先谢谢。

解决方案

< blockquote>我会尝试一些事情:



1)禁用所有扩展/插件(电动工具,Resharper等)并试用它。 />


2)在你的程序一开始(你的程序的入口点 - ex.Main)放一个断点,看它是否到达那里。



3)重新创建解决方案,看看是否能解决问题。如果是,请在两者之间进行差异,看看它们的区别。它不会很漂亮,但知道它为什么会挂起来会很好。



4)如果您使用源代码管理,请回滚一些几天,看看它是否继续存在。


经过大量的讨论,我发现了我的问题...不知道这是否有助于其他人,但我犯了错误安装Google地球。这自动安装了ASK工具栏,这是我存在的祸根。我试着卸载并禁用这个插件但是唉,它像回旋镖一样回到我身边。我终于在ASK工具栏FAQ上执行了一个工具,它可能从我的注册表中删除了Ask工具栏的剩余残余。现在,我的调试会话无法无限期挂起或失败,调试我的网络应用程序就不那么令人沮丧了。


Hi All Again.

as the title says.
it just started happening this morning, but it seams to do it on just that one solution.

but i dont want to recreate the solution( but may do just to see if that fixes it ).

what could cause this ?
i tried adding a dummy win32 console app in to see if it was just the one project, but it also hanges the IDE.

any suggestions ?

Thanks in Advance.

解决方案

I''d try a couple of things:

1) Disable all extensions/addons (Power Tools, Resharper, etc.) and try it.

2) Put a breakpoint at the very start of your program (your program''s entry point - ex. Main) and see if it reaches there.

3) Recreate the solution and see if that fixes it. If it does, do a diff between the two and see where they differ. It won''t be pretty but it''d be good to know why it is hanging up.

4) If you use source control, roll back a few days and see if it continues to exist.


After a lot of cussing, I figured out my problem...don''t know if this helps someone else, but I made the mistake of installing Google Earth. This automatically installed the ASK tool bar, the bane of my existence. I tried uninstalling and disabling this addon but alas, it came back to me like an boomerang. I finally executed a tool on the ASK toolbar FAQ that probably removed remaining remnants of the Ask toolbar from my registry. Now my debug sessions don''t hang indefinitely or fail, and debugging my web apps is a lot less frustrating.


这篇关于Visual Studio 2010在调试应用程序时挂起的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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