• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Setting an NSColor crashes - probably very simple issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Setting an NSColor crashes - probably very simple issue (From: Steve Cronin <email@hidden>)
 >Re: Setting an NSColor crashes - probably very simple issue (From: Bill Bumgarner <email@hidden>)
 >Re: Setting an NSColor crashes - probably very simple issue (From: Steve Cronin <email@hidden>)
 >Re: Setting an NSColor crashes - probably very simple issue (From: Chris Suter <email@hidden>)

  • Prev by Date: Re: Use of Mac OS X 10.5 / Leopards Garbage Collection Considered Harmful
  • Next by Date: NSOutlineView and reload
  • Previous by thread: Re: Setting an NSColor crashes - probably very simple issue
  • Next by thread: Re: Setting an NSColor crashes - probably very simple issue
  • Index(es):
    • Date
    • Thread