Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2010 debugging ASP .NET MVC 2 app is slow

Asp .NET MVC 2 apps started from Visual Studio 2010 are damn in my opinion. It takes 2-5 seconds to refresh or open a new page. Do you have the same problem? Do you know if this ASP .NET MVC 2 debug mode can be somehow sped up?

I work at 64 bit computer, Windows 7 and Visual Studio 2010.

like image 746
mgamer Avatar asked Aug 11 '10 21:08

mgamer


2 Answers

I had problems with slow Visual Studio debugging when "Native Code" debugger was enabled. Try disabling it if it is enabled.

On "Visual Studio 2010" go to:

  1. Project Properties ->
  2. Web ->
  3. Debuggers (bottom of page). ->
  4. Disable all exept ASP.NET

Hope it helps.

like image 113
Paulius Zaliaduonis Avatar answered Nov 02 '22 23:11

Paulius Zaliaduonis


For me, disabling 'Edit and Continue" fixed the problem.

like image 21
James L Avatar answered Nov 03 '22 01:11

James L