Thursday, July 07, 2011

Speed up debugging in Visual Studio

Wow I realized why i was grumpy. Single stepping through my code was taking up to 5 seconds per step. I think I forgot what I was doing after stepping through 10 lines. Obviously not effective so I devoted some time to figure this out. Stripped Visual Studio down to bare bones and then figured out the biggest culprits:
  • Unload unnecessary projects.
  • Delete .suo and user files to get them recreated.
  • Turn off:



  • Assigned ctrlshift-q to ReSharper_ToggleSuspended - Temporarily disable resharper - makes debugging much faster

No comments: