I have MonoDevelop 2.4.2 on OSX. I have a failing unit test that I would like to debug. Is there a way to do it? I found a reference on MonoDevelop mailing list but my version does not have mentioned option.
Am I missing something?
I have MonoDevelop 2.4.2 on OSX. I have a failing unit test that I would like to debug. Is there a way to do it? I found a reference on MonoDevelop mailing list but my version does not have mentioned option.
Am I missing something?
I was able to debug a unit test library by right-clicking my "unit test project" in the "Solution Explorer" and choosing "Debug Item".
I'm running the Windows version of MonoDevelop, but the same option is available on Linux and OSX versions.
On OSX monodevelop 3.0.4 this is now: Right click on unit test -> run with -> "Mono soft debugger".
You can add breakpoints using the 'run' menu too, if you need to.
I am running Xamarin Studio Community. @Kedde's answer does not work for the NUnit test in this version of the IDE. I created a Console project that runs unit tests. I am able to debug by stepping into the console methods.