In its default (ie, my) configuration, Xcode is somewhat unhelpful in its debugger window for variables, especially those of the common Objective-C collections variety.
The debugger seems to usually want to display the underlying Obj-C structure when I expand some object, so I'm looking at
In Xcode 6 this feature seems to have been implemented? I cannot speak to the features of Xcode when this question was asked in 2010.
NSDictionary values in your code, with a breakpoint:
When the breakpoint breaks, you can see the values in the Xcode "Variables View". For collections you may need to expand the details arrow:
If you right-click a variable and select
"Print Description of variable_name", the object's
-description value will be printed to the console. This is often useful for more complex collections, and perhaps for long
NSString values and etc.