IPhone - how to find which object it refers to?

That the Xcode dot shows the address of the object in messages such as

[Saving CALayer]: message sent to freed instance 0x1bc320

If, when this happens, you cannot find which object is 0x1bc320?

Every time I see such things, I look through the debugger for all the objects that I can find, and I never find which particular object it refers to the error message.

it wasn’t logical to just say [Save CALayer]: the message was sent to the freed instance.

Is there any way to find an object when this happens? Something I can type on the console or something else?

thanks

+7
source share
1 answer

Just enter po 0x1bc320 . You can also use distribution tracking in Tools with NSZombie tracking NSZombie . This will stop the application and show you the full life cycle of the zombie object and name it after release.

+11
source

All Articles