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?
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 ...
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.
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.
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.
What worked for me was resetting visual studio. I got the suggestion from http://www.vosseburcht.com/?p=69
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With