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?



email@hidden wrote on Sunday, July 30, 2006:
>So, as far as I can tell - something else is sending retain messages  
>to my window. Is there any way to find out what it is?

Debug > Launch Using Performance Tool > ObjectAlloc

ObjectAlloc can be configured to log all alloc, retain, and release messages sent to an object.

But as others have pointed out, it appears that you have some very odd retain/release usage. I suspect that your application is simply over-retaining objects. ObjectAlloc will quickly shed some light on what code is at fault.


James Bucanek
____________________________________________________________________
Author of Beginning Xcode                           ISBN: 047175479X
<http://www.beginningxcode.com/>
 _______________________________________________
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



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.