[Rubycocoa-devel 1270] Re: Source-Debugging Rubycocoa

Zurück zum Archiv-Index

Pierce T. Wetter III pierc****@twinf*****
Thu Dec 6 03:02:03 JST 2007


On Dec 5, 2007, at 10:31 AM, Laurent Sansonetti wrote:

> Pierce,
>
> Sorry for the late reply, I know that you have been waiting for
> feedback regarding this crash since a long time.
>
> It seems that you're creating an NSObject-based Ruby class,
> Machine_Context,  that is already registered. In Tiger, the class
> structure is overwrote, while in Leopard the runtime returns NULL,
> thus the crash.
>
> Are you by any chance creating the Machine_Context class in pure
> Objective-C too?
>
> If yes, the Ruby-side of your code should not be
>
>     class Machine_Context < NSManagedObject
>
> but
>
>     class Machine_Context
>
> I'm anyway going to fix trunk to not crash and return the existing
> class instead.

   Whoo hoo! Fixed. Thanks.

   I actually did:


   Context < Machine_Context_rb

   Machine_Context_rb < Machine_Context


  (The Machine_ is boilerplate code).

   I still want to be self-sufficient on the debugging front though.  
when I decided to use a framework that began with 0 I expected a  
certain amount of digging in on my part to fix problems.

  Pierce




More information about the Rubycocoa-devel mailing list
Zurück zum Archiv-Index