11

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?

1
  • BTW, is there a reason to stay on 2.4.* while 3.* is available? monodevelop.com/Download Commented Oct 13, 2012 at 9:46

3 Answers 3

11

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.

Sign up to request clarification or add additional context in comments.

1 Comment

It works on Ubuntu version too. I'd assume it would work on Mac OS X.
1

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.

Comments

0

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.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.