On Jul 19, 2013, at 10:45 PM, Jerry Krinock <[email protected]> wrote: > The 'leaks' tool has identified several NSString objects that my app is > leaking. But neither 'leaks' nor Instruments > Leaks identifies the > responsible frame in my code. The 'leaks' tool gives me the string value, but > I still need more clues to find it in my code.
If you setenv 'MallocStackLogging' in your process, the leaks tool’s output will include a backtrace of the object’s allocation. [See ‘man malloc’ for other useful flags.] (Warning: for obvious reasons, this environment variable will greatly increase the memory usage of your program. Don’t forget to turn it off again afterwards!) —Jens
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
