[MacRuby-devel] 0.2 available for testing

Laurent Sansonetti lsansonetti at apple.com
Thu Jun 5 14:58:40 PDT 2008


On Jun 5, 2008, at 2:41 PM, Stephen Bannasch wrote:

> At 4:28 PM -0400 6/5/08, Richard Kilmer wrote:
>> On Jun 5, 2008, at 4:22 PM, Stephen Bannasch wrote:
>>> After clicking the Spin button the circle spins for a little over 1s
>>> before the program crashes.
>>
>> Do you have the iPhone sdk installed by chance?
>
> No.
>
>> Just FYI, I svn up'd, built and CircleView runs just great.
>
> Hmmm ... is there a way to run it with gdb and watch the variable  
> @layoutManager and break and display a stack frame when it is set to  
> nil?

It's not as easy.

In rb_main.rb, add the following line at the very beginning of the file:

   GC.disable

Then, try to reproduce the bug. If it doesn't reproduce, then it's a  
GC bug.

Laurent


More information about the MacRuby-devel mailing list