I'm using Xcode 4.5 on Mac with the iOS simulator to write iPhone apps. When I hit a breakpoint in the debugger, I use the "Auto" to look at variables. The problem is that the objects are initially all folded, and I have to expand each one to see its value. That's ok, but it is tedious and hard to read. Is there some way to CUSTOMIZE the way that data is presented in the debugger?
I've looked at LLDB tutorial and I looked at "custom summary strings" in the post by Quinn Taylor, but I don't understand it. He must have used an older version of xcode.
Basically, I have an object such as
class Vec3 { public: float x,y,z; };
and in the debug window I see
pos (Vec3)
and what I'd rather see is
pos = (Vec3) (x=45.2, y=10.7, z=2.0)
without having to expand the variable. Does anyone know how I can do that?