[MonoDevelop] Debugging MonoDevelop

Michael Hutchinson m.j.hutchinson at gmail.com
Sun Jul 15 06:57:44 EDT 2007


On 7/15/07, John Anderson <sontek at gmail.com> wrote:
> Does anyone have any tips on working on monodevelop and debugging problems?
>  I found a few bugs with the VS importer and would like to add support for
> web project importing, but I don't know where to start with the
> debugging/development.

For simple bug-finding, "monodevelop --debug" will start MD in debug mode.

However, if you want to hack on it, the best thing is to use a
"development" SVN checkout separate from your main MD SVN checkout.
You can open the development MonoDevelop.mds solution with your main,
installed copy of MD, and will get code completion etc.

To build your development copy of MD, use "make" as usual, or build it
from within MD (which should work now IIRC, and will handle things
like Stetic code generation). To run your dev copy, you should always
use "make run", which runs it in debug mode without installing it, so
that you don't mess up your main MD.

Unfortunately I don't know anay ways to use the Mono debugger when
debugging MD; I generally use a Console.WriteLine divide-and-conquer
approach (type scwl then hit Tab to insert this statement
automatically).

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list