Re: Can I tell which object is retaining my window?
Re: Can I tell which object is retaining my window?
- Subject: Re: Can I tell which object is retaining my window?
- From: Drarok Ithaqua <email@hidden>
- Date: Mon, 31 Jul 2006 09:40:45 +0100
The plot thickens!
I've found out what's causing this strange behaviour, it's a subclass of
NSProgressIndicator (Or maybe the NSSlider) that I downloaded!
If I remove these two custom controls from my window, it all behaves as
it's supposed to.
James Bucanek wrote:
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:
This email sent to email@hidden