What's the point of Xcode showing the object address in messages like
[CALayer retain]: message sent to deallocated instance 0x1bc320
if when it happens you cannot find which object 0x1bc320 is?
Every time I see stuff like that I search the debugger for all objects that I can find and I never find which object is the one it is referring on the error message.
wasn't it logical just to say [CALayer retain]: message sent to deallocated instance.
Is that any way to find the object when that happens? Something I can type on console or something?
thanks
Just type po 0x1bc320
. You can also use allocations tracking in Instruments with NSZombie
tracking enabled. That will halt the app and show you the full lifecycle of the zombied object and who called it after deallocation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With