From: Pierce T.W. I. <pi...@tw...> - 2007-12-01 19:24:47
|
On Nov 30, 2007, at 9:33 AM, Chris McGrath wrote: > On 30 Nov 2007, at 16:28, Pierce T. Wetter III wrote: > >> >> On Nov 29, 2007, at 12:24 PM, Chris McGrath wrote: >> >>> Puts $RUBYCOCOA_DEBUG = true in your app somewhere and have a look >>> at >>> the output, that should give you more of a pointer to what's >>> actually >>> going wrong. >> >> Yeah, I've done that already, and posted the results to this list >> before. >> >> It's buserroring in install_ovmix_class_methods after building an >> OVMIX class. > > Ah... I've seen something similar recently. The problem I had was that > I was using plain ActiveRecord objects as items in an OutlineView > delegate. As these don't descend from OSX::NSObject, they weren't > being retained properly and I got a very similar crash to yours. The > solution was to wrap the object in an OSX::ActiveRecordProxy and use > that as the item. I don't know what you're using for your items but I > suspect you're running into a similar problem. ActionBrowser.rb does descend from NSObject...need that for key- value-coding. It's also buserroring right after the object is built. Hmm... Though in ruby, building could be executing code. Anyways, it used to work...broken in trunk on Leopard. Just need to know how to point XCode at that framework source... Pierce |