Re: Setting an NSColor crashes - probably very simple issue
Re: Setting an NSColor crashes - probably very simple issue
- Subject: Re: Setting an NSColor crashes - probably very simple issue
- From: Steve Cronin <email@hidden>
- Date: Tue, 5 Feb 2008 07:41:53 -0600
Bill & Chris;
Thanks to both of you!
Bill, spot on with the diagnosis! There was a color well with its
binding set to myColor and calling NSUnarchive...
It frustrates me often that IB is so opaque in locating information..
I sure wish I could read backtraces as well as you! Thanks!
Chris;
I am still on Tiger!
Have a look at the folllowing technote for a contrary opinion on YES
v. 1 for Zombies:
http://developer.apple.com/qa/qa2004/qa1367.html
It is dated 10/06 whereas the 'Debug Magic' TN is essentially 4/06...
Anyway thanks again!
Steve
On Feb 5, 2008, at 4:12 AM, Chris Suter wrote:
On 05/02/2008, at 6:27 PM, Steve Cronin wrote:
Bill;
Hey THANKS for the quick response!
I turned on NSZombieEnabled
[I went to executable - Get Info - Arguments - Variables to be set
Added NSZombieEnabled set value to YES (the docs sometimes say YES
and sometimes say 1...)
I've run it using both values... same result
I also checked the checkbox that has no explanation for its use
but appears to mean Use/Don'tUse
Remember that NSZombieEnabled won't work for toll-free bridged
classes on Tiger and earlier. It doesn't look like you're running
on Leopard.
You can experiment with CFZombieLevel instead but it's not quite as
useful.
<http://developer.apple.com/technotes/tn2004/tn2124.html>
is very clear that it should be "YES" rather than "1".
- Chris
_______________________________________________
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