Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debug using MbUnit/Gallio 3.1

When I use the [Debug] button in Gallio, the breakpoints in my unit tests are not hitting. The unit tests are written with MbUnit/Gallio. I am using MbUnit/Gallio version 3.1 build 397 with Visual Studio 2010 Beta 2. The unit tests run to completion in Gallio Icarus, but they run past the breakpoints. I see the symbol tables loading in VS, but it does not stop at the expected breakpoint, so I am unable to debug it.

like image 671
RL. Avatar asked Oct 15 '22 07:10

RL.


2 Answers

In Gallio Icarus select menu Tools -> Options, select page "Preferences", set "Test Runner Factory" to IsolatedAppDomain or Local to get the debugger to work.

like image 172
user1661220 Avatar answered Oct 20 '22 03:10

user1661220


Is there anything in the Icarus Runtime log? One problem some people have had is that you can't debug using an instance of Visual Studio running as Administrator from an instance of Icarus that is not.

like image 39
Jeff Brown Avatar answered Oct 20 '22 01:10

Jeff Brown