问题描述
近日,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:
不过,我三检查,我有检查了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的图像文件。
对于我来说,这是一个文件夹中创建名为备份
,这是该网站(由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挂起?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!