How do I configure the Xcode debugger to show Qt objects in a more useful way?
Qt Creator and other tools
1
Posts
1
Posters
1.1k
Views
1
Watching
-
wrote on 3 Jun 2015, 23:12 last edited by
I am working on a Qt project that is configured for an Xcode build. Everything works great, including debugging. However, in the Xcode debugger's watch variables, I don't get useful information for Qt objects.
For instance a QString will just show as a memory address, not as a human-readable string. Likewise, a QList shows a bunch of memory addresses, no the things in the list in a useful way.
For QStrings, I know you can add a watch for myString.toUtf8().constData(). I'm not sure what to do for other Qt objects. My question is: is there a general way to get more useful debugger watch information for Qt objects (by default) in Xcode?
Thanks!
1/1