I am experiencing the same problems on Mac OS X Mountain Lion + Xcode 4.5.2 + Qt 4.8.4. Debugger is really crazy when trying to debug a Qt application, it suddenly jumps around the code, steps into Qt functions even when I tell it to step over, sometimes it fires the breakpoints at places where I didn't ask it to stop, when trying to watch the value of a variable it often tells something like "undeclared identifier", although it is obviously declared and defined and I can perfectly print it in the code.

Could anybody give an advice how to debug Qt applications with Xcode? Maybe I am using some wrong options. However, I didn't change anything about that, just using the project generated by qmake -spec macx-xcode. Build configuration is set to Debug.

Or maybe there is a better IDE for Mac OS X?