Re: Leaks question
Re: Leaks question
- Subject: Re: Leaks question
- From: j o a r <email@hidden>
- Date: Sun, 9 Dec 2007 12:21:38 -0800
On Dec 9, 2007, at 11:45 AM, Lorenzo Thurman wrote:
When using leaks, how do I determine exactly which object is being
leaked? Leaks displays the function where the leak occurs, but is
there a way to narrow things down to the object?
It also gives you the pointer to the object:
Leak: 0x1e72b0 size=48 instance of 'NSCFString', type ObjC,
implemented in CoreFoundation
If that's not enough in itself, you would typically combine the output
from leaks with using ObjectAlloc (or the Object Allocations
instrument in Instruments) to find the exact memory management events
sent to this object during its lifetime.
j o a r
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden