Memory leak detection tools

SytS picture SytS · Sep 27, 2008 · Viewed 79.6k times · Source

Does Apple's Xcode development environment provide any tools for memory leak detection?

I am especially interested in tools that apply to the iPhone SDK. Currently my favourite platform for hobby programming projects

Documentations/tutorials for said tools would be very helpful.

Answer

rustyshelf picture rustyshelf · Sep 28, 2008

There is one specifically called Leaks and like a previous poster said, the easiest way to run it is straight from Xcode:

run -> Start with Performance Tool -> Leaks

It seems very good at detecting memory leaks, and was easy for a Non-C Head like me to figure out.