Slow debugging of MbUnit tests with Gallio and TD.NET
March 18, 2009 at 12:04 PM
No, this is not another rant about the troubles I’m having migrating to Gallio, so don’t be alarmed :-) In fact, the Gallio people have proven to be really bothered about the issues I have (see previous post and especially the comments). Thanks a lot for your commitment!
Sometimes I need to debug unit tests to see why they fail. TestDriven.NET has a nice feature that allows just that.
This has always worked perfectly smooth with MbUnit 2.4 when using Gallio (184.108.40.2067) with MbUnit the execution during debugging was very sluggish. This problem has been reported in the mailing list.
One workaround was posted on the thread mentioned above: disable the “property evaluation and other implicit function calls” option in the Visual Studio debugging options.
Doing this reverted the debugging experience to normal speed. The only drawback is that you need to “manually” refresh the values of properties by clicking on the two green arrows on the right side.
This is not the most convenient thing in the world, but I hope that it’s just a temporary state of affairs that the Gallio folks are able to fix soon.