I enabled the nszombie in xcode 4.2. (from product->editScheme)
I have got this message:
-[buttons respondsToSelector:]: message sent to deallocated instance 0x48ae50
I do have buttons class, but i dont see what the exact problem by this message.
can i get more from the NSZombie ?
What this specific message means is that the
buttonsinstance (at0x48ae50) has been deallocated (a.k.a.released). So, by trying to send therespondsToSelector:message tonothing(remember the instance has been de-alloc’d), it throws an error.Try setting a breakpoint near the place where it’s being triggered and see why… (for now, your
buttonsobject will most like have an address of0x0)In most (if not all) cases, this has to do with some faulty memory management; an object being released too soon, not retained when it had to, etc… 😉