Friday, 28 March 2014

Visual Studio slow startup when debugging

I've been recently struggling with a really slow startup time when debugging in Visual Studio. Typically it would take nearly two minutes, which is unacceptable especially if you're working on something that requires regular iterations and test runs, which is a way I like to work.

I tried symbol caching but this had little effect. Eventually I picked up on a subtle comment on an SO thread where someone had resolved a similar problem simply by deleting a breakpoint.

So, I deleted all my breakpoints, and hey presto my startup time was sorted - back to an acceptable 20 seconds!