当试图调试ASP.NET网站的Visual Studio 2013 SP1挂起? [英] Visual Studio 2013 sp1 hangs when trying to debug ASP.NET web site?

查看:214
本文介绍了当试图调试ASP.NET网站的Visual Studio 2013 SP1挂起?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

近日,Visual Studio的2013尝试调试时,又开始挂/跟踪ASP.NET网站。该网站与WebMatrix中3中创建,但我不认为这是相关的。

Recently, Visual Studio 2013 started hanging again when trying to debug/trace an ASP.NET web site. The site was created with WebMatrix 3 but I don't think that is relevant.

VS2013打开网站解决方案。这需要一个很长的时间来加载。一旦它装载了,我运行该项目,它击中我的第一个断点,然后IDE窗口迅速显示(没有响应)在标题栏中现在的IDE挂起。

VS2013 opens the web site Solution. It takes a really long time to load up. Once it does load up and I run the project, it hits my first breakpoint and then the IDE Window quickly shows "(not responding)" in the title bar and the IDE is now hung.

这发生在我身上很长一段时间以前,根本原因是需要设置使用64位IIS这个SO职位所示的选项:

This happened to me a long time ago and the root cause was needing to set the "use 64-bit IIS" option as indicated by this SO post:

的Visual Studio 2013崩溃并重新启动每次运行

不过,我三检查,我有检查了64位的选项。我能做些什么来解决这个问题?

But I triple-checked and I do have the 64-bit option checked. What can I do to fix this?

推荐答案

请参阅本的在发行博客。它basiclly说,要确保显示所有文件,在该解决方案中选择,并检查不属于不属于你的项目/解决方案的一部分的任何文件夹。

See this blog in the issue. It basiclly says to make sure "show all files" is selected in the solution and check for any folders that don't belong that are not part of your project/solution.

问题又再次出现了几天后,我终于想通了我的不合作调试器的问题。我有一个包含那些不包括在Visual Studio网络项目但坐在在web站点的目录约20,000图像的文件夹。我曾在Solution Explorer中打开显示所有文件,一些脚本文件添加到项目中。当显示所有文件关闭,F5(开始调试)的作品像冠军。当显示所有文件打开时,Visual Studio中变得反应迟钝。在现实中,它不是冻结,而只是采取了很长的时间来处理这些20000的图像文件。

The problem resurfaced again a few days later and I finally figured out the problem with my uncooperative debugger. I have a folder containing approximately 20,000 images that are not included in the Visual Studio web project but are sitting in a directory in the web site. I had turned on "Show All Files" in Solution Explorer to add some script files into the project. When "Show All Files" is off, F5 (Start Debugging) works like champ. When "Show All Files" is on, Visual Studio becomes unresponsive. In reality it is not "frozen" but simply taking a very long time to process those 20,000 image files.

对于我来说,这是一个文件夹中创建名为备份,这是该网站(由VS创建)的备份。我删除有问题的文件夹,并加载用于调试的网站。

For me, it was a folder created called backup, which was a backup of the site (created by VS). I deleted the folder in question and the site loaded for debugging.

这篇关于当试图调试ASP.NET网站的Visual Studio 2013 SP1挂起?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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