Re: Debugging strange memory ( ? ) problem
Re: Debugging strange memory ( ? ) problem
- Subject: Re: Debugging strange memory ( ? ) problem
- From: Peter Hudson <email@hidden>
- Date: Sun, 30 Apr 2017 22:02:45 +0100
Thanks Ken.
I'll give zombies a go.
What's baffling is that the pointer has remained the same - in terms of address - but the type of underlying object appears to be different.
Not sure how that could happen.
Peter
> On 30 Apr 2017, at 21:28, Ken Thomases <email@hidden> wrote:
>
>> On Apr 30, 2017, at 2:50 PM, Peter Hudson <email@hidden> wrote:
>>
>> Rather too much code to post it.
>> Was wondering about methods to watch particular addresses of memory.
>
> Run the app under the Zombies template of Instruments. The table view, rather than being deallocated and having its address reused for some other object, will be made a zombie. Then, any future attempt to use it will be flagged. Furthermore, the history of the object in terms of retains and releases can be viewed, and you can figure out why it was deallocated when you expected it to remain alive.
>
> Regards,
> Ken
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden