Speed Up Your .Net Project Debugging

Posted In Tutorials - By NitiN Kumar Jain On Monday, January 19th, 2009 With 0 Comments






Pin It


  • Are you suffering from the poor performance of the Visual Studio project while debugging?
  • Do you wait for as much as up to 5 or more seconds for a single statement to get executed while debugging?

The main cause of the the problem is the file with extension suo in the same folder where the project file is lying.

This file actually contains all the debug points put in within the solution. You must have also noticed that when you put break points in the project and save it and reopen it, all break points are retained. This credit goes to the suo file which contains all break points.

So while debugging the project on every statement it loads the suo file to check the breakpoints and you can imagine loading a file having size more than 1 mb again and again would definitely take a lot of time and that is the reason why debugging works slow.

The best and the fastest sloution is to delte that suo file. It does not impact the solution or project file or code as such but you will loose all break points. This file will be created again when loaded next time.

If you don’t want to loose breakpoints but still want to reduce the size then you should manually remove the breakpoints and save the project/solution.

This would definitely help in reducing the debug time.

Hope it helps!

-NKJ