I have an array which I would like to print out in a breakpoint. I have read about how to do this with @exp@, so I've created a Log Message breakpoint like so:
%B %H count: @(NSUInteger)[myArray count]@ objects: @(const char *)[[myArray description] UTF8String]@
And here's what that prints:
-methodName: 33 count: 1 objects: 0x6dec5890
From everything I've read, this should print out a string containing the objects in myArray. And yet, clearly that's not happening. What am I doing wrong?
I'm using LLDB on Xcode 5.0.2. And if it matters, the app is 32-bit.