Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

2 Answers

up vote 3 down vote accepted
+100

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 https://github.com/alexrp/sdb-cli

share|improve this answer
add comment

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
add comment

Your Answer

 
discard

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.