[MonoDevelop] debugger does not launch app

Michael Hutchinson m.j.hutchinson at gmail.com
Wed Jan 21 14:49:23 EST 2009


On Wed, Jan 21, 2009 at 2:31 PM, Cvetomir
<cvetomir.todorov.dev at gmail.com> wrote:
> I am completely new to Linux, Mono and MonoDevelop, but I am very interested
> in using it and maybe contributing to the project. I am using this thread
> because my problem is related to the debugger as well. I want to ask a
> simple question about the expected behavior of the debugger. I created a new
> Console Application and when I open the Run menu the Run option is enabled
> but the Debug one is grayed out and I cannot Debug. Is there anything
> specific that I need to configure to enable debugging? I apologize if there
> is documentation for this, but I just couldn't find it. Thanks for the help.

Did you build the mdb debugger addin?

You'll need MD 2.0 alpha 2 or later (right now SVN trunk is superior
to alpha 2), and Mono 2.0 or 2.2 with the Mono debugger.

If you're using MD packages, such as the ones in the openSUSE buidl
service, you just need to install the monodevelop-debugger-mdb
package.There are some one-click installs for openSUSE:
http://software.opensuse.org/search?baseproject=openSUSE%3A11.1&p=1&q=monodevelop-debugger-mdb

If you build MD from svn, use ."/configure --select" and you'll be
able to select which "extras" you want to include in the build. Make
sure you select MonoDevelop.Debugger.Mdb. Note that building from SVN
is convenient because you can "make run" to run MD without installing
it, so you won't interfere with installed MD packages.

If you build MD from tarballs, you'll need to configure and build the
monodevelop-debugger-mdb tarball against a matching install of MD.


For the easiest and most reliable way to get it working, I suggest
using my packages on openSUSE 11.1 (the home:MJHutchinson package at
the link above), as I regularly push new build when bugs are fixed.


-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list