[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with object sender in -insertTab:

From: Fred Kiefer
Subject: Re: Problem with object sender in -insertTab:
Date: Thu, 23 Jan 2014 07:59:46 +0100

Am 23.01.2014 um 02:13 schrieb Germán Arias <address@hidden>:

> On 2014-01-22 18:21:43 -0600 David Chisnall <address@hidden> wrote:
>>> On 22 Jan 2014, at 15:50, Germán Arias <address@hidden> wrote:
>>> According with GDB the sender object exist. So, I don't understand what is 
>>> happening. I can change the code to not call methods in sender object.
>> How are you verifying that it exists?  If you enable zombies, does it show 
>> up 
>> as deallocated?
>> David
> Well, the gdb show an address for the sender object. I assume this mean that 
> the object exist. And with NSZombieEnabled to YES, the program crash without 
> show any message.
> Germán.

This doesn't prove that the object still exist, just the reference is there. 
Your need to dereference that pointer to see if the object exists. ( p *obj or 
po obj)
But I don't think this is the problem. Could you please provide the stack trace?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]