Re: Nil Object Crashing KVO
Re: Nil Object Crashing KVO
- Subject: Re: Nil Object Crashing KVO
- From: Ken Thomases <email@hidden>
- Date: Sun, 24 Aug 2008 11:29:35 -0500
On Aug 24, 2008, at 9:00 AM, Gordon Apple wrote:
I’m having a problem that only shows up in Release mode. I have an
object that should have “editLayer” ivar automatically initialized
to nil.
A second object has a KVO on this ivar property. When the first
object
calls setEditLayer (as a result of it’s own KVO notification
observation
from elsewhere), the program crashes before the second object
receives its
KVO, but only in release mode.
Crashes how -- with what kind of signal or kernel exception code?
Also, is anything logged to the console when the crash happens (or
just before)? What's the backtrace?
Also, on what OS version are you running?
Without details such as those, it's kind of hard to respond to these
debugging queries.
-Ken_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden