[Mono-dev] Mono Soft Debugger

Virgile Bello virgile.bello at gmail.com
Sat Feb 26 00:50:34 EST 2011


I wrote a small (50 lines of code) monodevelop addin bound to F3 so
that I don't need to setup any solution, just run the exe.
Please let me know if you are interested in sources.

On 2011/02/26, at 14:45, Miguel de Icaza <miguel at novell.com> wrote:

>> 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.
>
> Miguel
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list


More information about the Mono-devel-list mailing list