[Mono-list] Options for debugger for DLR languages on Mono

Doug Blank doug.blank at gmail.com
Tue Sep 20 07:57:07 EDT 2011


Mono list,

We have a fairly robust editor/shell written in IronPython, using
Gtk#, running under cross-platform Mono with abilities to switch
between many languages (including Python, Ruby, Scheme, Lua, FSharp,
CSharp, Boo, and a new visual Scratch-based language called Jigsaw.
Although not all are DLR-based.) [1].

What would be the best option for creating an interactive debugger for
the DLR languages on Mono? We would want to be able to set
break-points, single step, and inspect local variables. Ideally, this
would be a generic, language-neutral API, but if we have to do one for
each language, that might work too. Things we've looked at:

a) Seo's FePy Mono Profiler [2], but that seems too low-level, and
requires C code for each platform.

b) Microsoft.Scripting.Debugging [3], but will that work under Mono?

c) sys.settrace(), but that would be Python-specific, and can't single-step (?)

Are there other issues/options to consider? Please feel free to point
me towards useful resources.

Thanks!

-Doug

[1] - http://calicoproject.org/
[2] - http://fepy.blogspot.com/2007/06/pyprof-progresses.html
[3] - http://devhawk.net/2009/07/08/microsoft-scripting-debugging/


More information about the Mono-list mailing list