Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2013 sp1 hangs when trying to debug ASP.NET web site?

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 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.

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 crashes and restarts every time I run my test solution

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

like image 1000
Robert Oschler Avatar asked Mar 04 '14 14:03

Robert Oschler


People also ask

How to troubleshoot debugging in Visual Studio?

Troubleshoot debugging 1 Start the web app from IIS, and make sure it runs correctly. Leave the web app running. 2 From Visual Studio, select Debug > Attach to Process or press Ctrl + Alt + P, and connect to the ASP.NET or ASP.NET Core... More ...

How do I enable IIs debugging in Visual Studio?

IIS Express is the default, and is preconfigured. If you're debugging on Local IIS, make sure you meet the requirements for local IIS debugging. Select the ASP.NET Core project in Visual Studio Solution Explorer and click the Properties icon, press Alt+Enter, or right-click and choose Properties. Select the Debug tab.

Why can't I debug my ASP NET application?

See also. When you try to debug an ASP.NET application running on a Web server, you may get this error message: Unable to start debugging on the Web server. Often, this error occurs because an error or configuration change has occurred that requires an update to your Application Pools, an IIS reset, or both.

How do I debug ASP NET Core in Visual Studio?

If you're debugging on Local IIS, make sure you meet the requirements for local IIS debugging. Select the ASP.NET Core project in Visual Studio Solution Explorer and click the Properties icon, press Alt+Enter, or right-click and choose Properties. Select the Debug tab.


1 Answers

What worked for me was resetting visual studio. I got the suggestion from http://www.vosseburcht.com/?p=69

like image 112
JDennis Avatar answered Oct 17 '22 09:10

JDennis