Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can I tell which object is retaining my window?




Jul 30, 2006 kl. 4:40 PM skrev email@hidden:

I've got an application that was working fine until today, and now one of the temporary windows I create is being retained. A lot.

Sample log, after I subclassed the retain and release methods to do logging:

Put break points at your class retain and release. At each breakpoint, execute the commands : backtrace continue

After your app terminates, or you quit it abnormally,
Save the console log to a file, it will list the call stack at each call of retain/release
------------------------------------------------------
"Home is not where you are born, but where your heart finds peace" -
Tommy Nordgren, "The dying old crone"
email@hidden



_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Can I tell which object is retaining my window? (From: email@hidden)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.