Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debugging in Visual Studio 2012 is slow

We have a large ASP.NET application that has been built over the last decade and is now running in .NET 4.0.

Recently, we upgraded to Visual Studio 2012 Premium (from 2010 Premium).
Our application compiles successfully, and when we run/debug our application its from a local IIS on each one of our developer workstations (versus using using the development server).

Ever since upgrading to 2012, when we are debugging our application, we have noticed the application to run VERY slow in loading ASP.NET pages, it can take nearly 20-30 seconds per page. But, when we access the application straight to the local IIS and without using the VS2012 debugger, it runs great. Something about debugging in Visual Studio 2012 on our application is slowing down our application performance significantly.

Is there a good tool we could use to capture what is going on in the background?

Also, this is happening on both Windows 7 Enterprise machines and Windows 8 Pro machines. All 64 bit with 8+ GB of RAM, and Intel Core i7 processors.

Thanks for any help.

like image 403
Alex Avatar asked Nov 12 '22 13:11

Alex


1 Answers

My debug on VS 2012 was very slow, it was taking 20~30 seconds for every step.

My solution was disable the .NET Reflector extension.

Go to Tools - Extensions and Updates - Disable .NET Reflector.

like image 101
Luis Rodrigues Avatar answered Nov 15 '22 05:11

Luis Rodrigues