I'm still haven't properly learned how to use the Xcode debugger, but I was wondering if anyone has some favourite debugging tips, things you can quickly insert into code to see the state of objects. Anything which would help me get more of a grasp on the internals of Objective-c.
Mostly I rely on NSLog(@"%@", myObject)
to see what's happening with myObject, or sometimes NSLog(@"%@", [myObject class])
to check that something is really the class it should be. I know that I can do both by using the debugger, but I want to try using code for the moment, before I take the leap into using a full debugger.
Do you have any similar tricks?