Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

cthesky

macrumors member
Original poster
Aug 21, 2011
91
0
Hi,

Is there any tools used to trace when an object is allocated, and when an object is released?

(For example, tools used to trace at which point an object is allocated and at which method/code, the object being released or deallocated.)

Thanks. :)
 
Last edited:
Hi,

Is there any tools used to trace when an object is allocated, and when an object is released?

Thanks. :)

Not sure if this is what you're looking for, but try using the "Analyze" feature on Xcode. There's also a new IDE for ObjC out called AppCode from www.jetbrains.com. I bought it just to use the "Analyze Code" feature. It gives a lot of false positives but generally useful for telling me if I've done something wrong on object allocation and release.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.