Debugging Cocoa

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

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.







2 responses to “Debugging Cocoa”

  1. Karsten Avatar

    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 🙂

  2. Jon Trainer Avatar

    @Karsten: BSInspectors looks very nice — I’ve added it to the list. Thanks for your very well written debugging articles.