Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been writing a console application in C# using MonoDevelop. While I can run the application and pass command line arguments to it, i cannot for the life of me figure out how to debug it and pass in arguments.

I've tried using the command line to launch MDB - Instructions Here

However on Ubuntu 11.10 it cannot locate the Debugger

 05:15:53 {master} ~/Projects/SomeProject/bin/Debug$ mdb
No command 'mdb' found, did you mean:

So, where is the mono debugger, and how do I debug command line applications built with mono that depend on arguments?

share|improve this question
up vote 3 down vote accepted

Support for the 'hard debugger' is no longer included in the runtime, so the mono-debugger package was removed from Debian & Ubuntu. The interface that monodevelop uses is called the soft debugger, and there is the start of a command-line client for that at

share|improve this answer

Ensure that you have installed both the mono-complete, monodevelop, and monodevelop-debugger-gdb packages. Perhaps you may be missing the monodevelop-debugger-gdb package.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.