[Mono-dev] Mono Soft Debugger

Miguel de Icaza miguel at novell.com
Sat Feb 26 00:45:40 EST 2011

> I just have a single, minor issue that I don't seem capable of solving:
> When I open an application using the Debug/Debug Application menu item,
> it opens the application, runs it immediately and therefore does not
> allow me to set breakpoints and single-step the program.  I have tried
> opening a source file beforehand and setting a breakpoint, but that
> doesn't seem to work either.
> Is there a chance that MonoDevelop could be altered so that it set up a
> breakpoint on Main the very moment that the application is loaded?  That
> way, one could debug using MonoDevelop and I could perhaps spend some
> time helping out on MonoDevelop instead of wasting a lot of time on
> reinventing the wheel.

This probably needs to be better documented.

Use File/Open and navigate to your executable.   Open the executable,
this will create a solution and it will automatically show you the
source files that the executable depends on (as long as you compiled
with -debug).

Set breakpoints, and start your program.


More information about the Mono-devel-list mailing list