调试时Visual Studio 2010冻结启动浏览器 [英] Visual Studio 2010 freezes launching browser when debugging

查看:77
本文介绍了调试时Visual Studio 2010冻结启动浏览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Visual Studio 2010专业版,尝试使用F5或工具栏快捷方式在Web项目上开始调试.每次尝试此操作时,Visual Studio都会成功构建项目,但随后在启动之前便会挂起 Web浏览器.然后,我唯一的选择是使用任务管理器杀死devenv.exe进程.

I am using Visual Studio 2010 Professional Edition, attempting to start debugging on Web projects using either F5 or the toolbar shortcut.  Every time I try this, Visual Studio successfully builds the projects, but then simply hangs before launching the Web browser.  The only option I then have is to kill the devenv.exe process using Task Manager.

我尝试使用Visual Studio启动的浏览器更改浏览器,以使用浏览方式"进行调试. IE或Firefox的选项,但都不起作用.我可以成功使用在浏览器中查看"功能并启动 适当的浏览器,只是不在调试"状态模式.我还可以在VS中构建项目,手动启动浏览器并浏览到站点,然后在VS中附加调试器,它将进行调试,但是我确实需要内置的开始调试"才能工作 如果可能的话.我还尝试过修复VS安装,并且多次重新启动均无效.

I have tried changing the browser Visual Studio launches for debugging using the "Browse With" option to either IE or Firefox, and neither has any effect.  I can successfully use the "View in Browser" function and it launches the appropriate browser, just not in "debug" mode.  I can also build the project in VS, launch the browser manually and browse to the site, then attach the debugger in VS and it will debug, but I really need the built in Start Debugging to work if possible.  I have also tried repairing my VS installation, and multiple reboots to no effect.

有人对此有任何想法吗?

Anyone have any thoughts on this?

 

谢谢

推荐答案

作为后续的工作,我们似乎正在建立一个特定的Web项目.罪魁祸首.重新启动后,我可以相当成功地构建并让VS在浏览器中使用以下命令启动IE或Firefox: 一个测试Web项目,以及我的主要解决方案.但是,当我特别访问解决方案中的6个Web项目之一时,VS可以在我第一次调试时启动浏览器,但是随后对任何其他Web项目或 该特定的Web项目导致VS冻结.在访问该Web项目之前,其他所有5个Web项目都可以通过构建/调试/启动浏览器来正常工作.没有事件日志中生成任何错误 我的应用程序或VS.
As a follow up having done some more playing around, it appears that it is the building of one particular Web project which is the culprit.  After a reboot, I can quite successfully build and have VS launch either IE or Firefox in the browser with a test Web project, and also with my main solution.  However, when I access one of the 6 web projects in my solution in particular, VS can launch the browser the first time I debug, but then any subsequent attempts with any of the other web projects or that particular web project results in the VS freezing.  Prior to accessing this one web project, all of the other 5 web projects work fine with building/debugging/launching the browser.  There are no errors being generated in the Event log from either my app or VS.


这篇关于调试时Visual Studio 2010冻结启动浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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