mgamer
mgamer

Reputation: 14060

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.

Upvotes: 5

Views: 2308

Answers (5)

elDDeR
elDDeR

Reputation: 70

Turn off Intellitrace. Your MVC debugging will go much faster:

  1. Click on Tools>Options>Intellitrace.
  2. Uncheck "Enable Intellitrace".
  3. Click OK
  4. Restart debugger.

Good luck!

Upvotes: 1

James L
James L

Reputation: 16874

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

Upvotes: 2

Jason
Jason

Reputation: 4705

Just came across a similar problem.

I was having a standard ASP.NET and a ASP.NET MVC project in the same solution. 2 development web servers were starting when I was running the debugger.

I just unloaded the standard ASP.NET project (containing a test page and which I did not really use) and everything is now a lot faster.

Hope this helps!

Upvotes: 0

Sire
Sire

Reputation: 4378

Menu.Debug.DeleteAllBreakpoints often works, but I still don't know why.

Upvotes: 1

Paulius Zaliaduonis
Paulius Zaliaduonis

Reputation: 5189

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.

Upvotes: 5

Related Questions