I was spurred to use the clang static analyzer by francis who saw it in some iPhone video. Basically, clang is another compiler separate from gcc, created by the folks at http://llvm.org/ [See: http://clang.llvm.org/] One of the tools created as a part of the clang project is the static analyzer. In simple terms, the static analyzer goes through your code and finds not only bugs that Xcode misses, but it will find any memory leaks and alert you. Saving you the trouble of tracking down leaks in Instruments. The analyzer will even yell at you if you don't follow naming conventions. When finished going through your build, the static analyzer will launch a web server that displays any bugs it may find in easy to read page that mimics the appearance of Xcode. See the following image for an example. It tells you the leak and the path taken to arrive at the leak. Specifically, it's the release line I commented out. Please Register or Log in to view images Full sized image: http://static-cache.ifans.com/imgcache2/39175.png clang static analysis is now included in Xcode versions 3.2 and higher. If you are running Xcode 3.2 or higher, then please ignore the rest of this post. To perform an analysis with Xcode 3.2 or higher, you must first perform a "Clean all." Next, click on the "Build" menu in Xcode and click "Build And Analysize." Installation: Navigate to http://clang.llvm.org/StaticAnalysis.html Download the linked checker tarbell (it says tar.bz2, but it's really tar.bz2.tar). Extract that and copy that to a directory on your device. I chose ~/Developer/clang Open terminal and type sudo nano /etc/paths Enter the directory in which you keep your clang stuffs. Press 'Ctrl + X' to Exit, and press 'Y' to save. You're now done with installation. Quit and restart terminal. To use this, First make sure you go into Xcode and "Clean All" before you do anything. When that's all set, open terminal and navigate to the directory of the app you want to build. Enter the following command. Make sure to replace the name od the sdk with the one you currently want to build with. scan-build -k -V xcodebuild -configuration Debug -sdk iphonesimulator3.0 A couple of things I noticed: If you want to use this on 3.0, you will need to open the correct UIKit.h file and comment out [READCTED] due to an Apple failiure. If you want to retest a file and scan-build isn't testing it, and "Clean All" isn't getting the job done, you will have to open that file and make a small change (like entering a space, or newline--feel free to delete it immediately afterward), and resaving the object. Linux Instructions from page three of this thread: http://www.ifans.com/forums/showpost.php?p=1574771&postcount=21 Again, I STRONGLY recommend all devs use this.