SLaks / Rebracer

Saves editor formatting settings as part of each solution.
http://visualstudiogallery.msdn.microsoft.com/410e9b9f-65f3-4495-b68e-15567e543c58
44 stars 15 forks source link

Slow / crashing in VS2015 #20

Open Tesserex opened 8 years ago

Tesserex commented 8 years ago

I've tried this extension twice now, as it would be a huge help for me since I have work and personal projects with different settings. Whenever I use it, it seems to slow VS to a crawl or crash it when I try to load my large work sln. I don't usually have a problem with my personal projects, but loading a large project is just a no go. It's definitely rebracer as both times removing it has immediately cured the problem.

If there's any way for me to get logs to you I'll be glad to provide them.

SLaks commented 8 years ago

That's strange; Rebracer operates at the solution level only and should not care about how many projects are in the solution.

I suspect that some VS service is operating on every project when I change some setting. If so, you can try to find the culprit setting with a binary search (delete half of the groups / settings in Rebracer.xml, restart VS and see if it's still slow, then repeat until you find a single culprit).

Alternatively, you can start a second copy of VS, attach its debugger to the first copy, then click pause when it's hung and look at thread stack traces to see what it's doing. (also, look for the actual exception if it crashes)