This could potentially be possible, if the objc code runs in the GC environment. You could load MacRuby.framework from GDB (using NSBundle), then initialize the runtime ([MacRuby sharedRuntime]) then start an IRB session, by evaluating the right expression (- [evaluateString:]). Otherwise if the objc app does not run under GC I don't think there is an easy way to support this feature. Laurent On Nov 9, 2008, at 1:21 PM, Daniel A Carleton wrote:
Hello List,
Not sure about the feasibility of this, but wouldn't it be great to break out into an embedded macirb session from inside GDB? Exploring the state of a running application this way could really help with debugging objc code.
If anyone has insights on how this could be accomplished I'd be interested to hear them.
Cheers,
- Daniel _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel