5
votes

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.

3

3 Answers

2
votes

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

1
votes

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.

1
votes

Normally all my Gallio debugging problems are solved by making the test project Platform Target "x86" rather than "Any CPU".