Re: ObjectAlloc Instrument Question
Re: ObjectAlloc Instrument Question
- Subject: Re: ObjectAlloc Instrument Question
- From: Alexander von Below <email@hidden>
- Date: Mon, 19 Jan 2009 13:35:42 +0100
Thanks! Yes indeed I had this on to debug ARP Errors!
Disabling it now causes the expected behavior for the objects
Thanks again, I understand why ObjectAlloc behaves that way now
Alex
Am 19.01.2009 um 13:28 schrieb Ken Thomases:
On Jan 19, 2009, at 6:25 AM, Alexander von Below wrote:
Am 19.01.2009 um 13:23 schrieb Ken Thomases:
On Jan 19, 2009, at 4:26 AM, Alexander von Below wrote:
So, in ObjectAlloc I see my memory usage increasing every time I
perform a certain action. Using the "Created & Still Living
Option", it appears that certain objects of mine (to be specific,
subclasses of UIViewController) do not go away as expected.
I have subclassed + alloc, and set a breakpoint there as well as
on - dealloc. Everything looks fine and in sync: For every time,
"+alloc" is called on my object, "-dealloc" is called at the
expected time.
Still, ObjectAlloc insists that these objects are still living
after "-dealloc" was called on them.
Is this expected behaviour? Am I doing something wrong? Is there
a bug in my app?
Does your -dealloc override call through to super?
Good question, I should have mentioned that I did check that. Yes,
it does call [super dealloc]
OK, another question: do you have NSZombieEnabled set for the
executable?
-Ken
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden