Visual Studio 2013 sp1 hangs when trying to debug

2020-02-12 02:48发布

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?

10条回答
我命由我不由天
2楼-- · 2020-02-12 03:14

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

查看更多
3楼-- · 2020-02-12 03:14

My solution was to remove all the .bak backup files generated by DevExpress ProjectConverter when I had upgraded to the new DevExpress version.

查看更多
SAY GOODBYE
4楼-- · 2020-02-12 03:18

I have the same situation and "solved it" in a very particular way: Rebuild the solution and run it without debugging (Control + F5), then go back and debug it the normal way.

查看更多
smile是对你的礼貌
5楼-- · 2020-02-12 03:19

I had this problem while writing an Excel add-in.

Not being a web app I was pretty sure that checking the 64 bit IIS Express option would make no difference, but it did!

I have no idea why, but it runs in debug ok now :)

查看更多
太酷不给撩
6楼-- · 2020-02-12 03:21

In my case it's the IntelliTrace that causes problem. I need to disable it https://msdn.microsoft.com/en-us/library/dd264948(v=vs.100).aspx

查看更多
We Are One
7楼-- · 2020-02-12 03:24

In my case, I was able to solve it by running it as an Administrator! Don't know why, couple of days back it was working fine, suddenly it started to freeze when trying to debub web app! Hope it helps someone!

BTW: I am running VS2013 Ultimate, with Update 4

查看更多
登录 后发表回答