Visual Studio 2010: very slow web applications debugging!

Posted by micha12 on Stack Overflow See other posts from Stack Overflow or by micha12
Published on 2010-04-25T11:15:34Z Indexed on 2010/04/25 11:23 UTC
Read the original article Hit count: 270

Filed under:

I recently installed Visual Studio 2010 (Ultimate edition, final version released in April), and found that debugging a web application became very slow (2-3 times slower than in Visual Studio 2008)!

I took the same web application and checked the speed of loading of one of its pages in VS 2008 and VS 2010, and compared the time it takes to load the page.

I tested it using 2 approaches: 1) debugging under ASP.NET Development Server (by pressing the "Start" button) and 2) using ASP.NET Development Server without debugging (by using the "View in Browser" menu command).

And I got the following results for Visual Studio 2008 and 2010.

1) ASP.NET Development Server withoud debugging ("View in Browser"): the speed of page loading is the same in VS 2008 and 2010.

2) Debugging under ASP.NET Development Server ("Start" button): in VS 2010 the page takes more time to load than in VS 2008 - VS 2010 debugging is 2-3 times slower than in VS 2008!

3) At the same time, when debugging a web application in VS 2008, it takes the same time to load the page compared to when using only the "View in Browser" command. That is, VS 2008 debugging does not introduce any overhead to page loading in the web browser!

I wanted to make sure that other people have the same problem with slow debugging of web applications in VS 2010. Can this issue be solved by any means?

BTW, I am using Windows XP SP3.

Thank you.

© Stack Overflow or respective owner

Related posts about visual-studio-2010