4.30.2012
iphone developmentdebuggingmemory management

The web page content provides tips for debugging memory-based crashes on iPhone applications. The author suggests enabling Guard Malloc in XCode's Run menu to check for potential issues with heap allocated memory blocks, and adding and setting variables NSAutoreleaseFreedObjectCheckEnabled, NSZombieEnabled, and NSDebugEnabled to YES for extra checking on autorelease and release. MallocDebug is also mentioned as a tool for finding heap corruption problems.

Debugging memory based crashes on iPhone | iPhone | Lou Franco: code, apps, and writings

http://loufranco.com/blog/files/debugging-memory-iphone.html