[MacRuby-devel] Debug Shell from GDB

Laurent Sansonetti lsansonetti at apple.com
Sun Nov 9 15:15:57 PST 2008


On Nov 9, 2008, at 3:10 PM, Jordan K. Hubbard wrote:

>
> On Nov 9, 2008, at 2:50 PM, Laurent Sansonetti wrote:
>
>> Sure, when the app in question is a MacRuby app then we can do that  
>> (there is AFAIK no need to start a new thread, the console can be  
>> in the runloop.)
>
> Ah, that's even better, yes.
>
>> But here Daniel was referring to using MacRuby inside a pure objc  
>> app, I think, which is different, since you need to dynamically  
>> load MacRuby in the environment.
>
> Ahh, OK.   So, is there anything we can do to make *that* particular  
> usage scenario any easier?

The scenario is easy, the only problem as I wrote earlier is that the  
app must run in GC mode. You cannot load MacRuby in a non GC  
environment (dyld will complain).

Laurent


More information about the MacRuby-devel mailing list