Thought I would share my growing list of handy tools and techniques for debugging Cocoa applications on the Mac. If you have any to add, share the love in a comment.
Debugging Memory Issues
- Tracking down memory leaks with ObjectAlloc
- Debug Retain Counts
- Leak Detection
- Debug Autorelease
Debugging Crash Reports
Logging Techniques
Debugging Tools
- F-Script – Interactive scripting environment for Objective-C and Cocoa.
- Class-Dump
- OTX – Cocoa UI for otool.
- BSInspector – Xcode plug-in for viewing detailed object information.
Comments
2 responses to “Debugging Cocoa”
you should try the BSInspectors. it’s a plugin for Xcode to help inspecting the values of NSObjects. Printing the text to the console is way to distracting, and bsinspectors shows the objects in a new window in a much better way.
btw: thx for linking the debuggin crash log post 🙂
@Karsten: BSInspectors looks very nice — I’ve added it to the list. Thanks for your very well written debugging articles.