Re: Unit test crash inside NSTableView

2009-11-11 Thread David Catmull
On Nov 11, 2009, at 10:30 AM, Corbin Dunn wrote: > Your delegate is being deallocated too soon. Try adding a log when it gets > dealloced (or a breakpoint) and see if the crash happens after the > deallocation. It probably will. That would seem to fit, but the breakpoint doesn't trigger and I ca

Re: Unit test crash inside NSTableView

2009-11-11 Thread Corbin Dunn
On Nov 11, 2009, at 8:39 AM, David Catmull wrote: > I'm getting a crash in -[NSTableView _isGroupRow:] in my unit tests if I try > to run the main run loop. > > In my document's window, I have an NSOutlineView with its delegate and > dataSource set to the window controller. In some unit tests,

Unit test crash inside NSTableView

2009-11-11 Thread David Catmull
I'm getting a crash in -[NSTableView _isGroupRow:] in my unit tests if I try to run the main run loop. In my document's window, I have an NSOutlineView with its delegate and dataSource set to the window controller. In some unit tests, I want to run the main event loop to give some bindings a ch