Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. How do I configure the Xcode debugger to show Qt objects in a more useful way?
Forum Update on Tuesday, May 27th 2025

How do I configure the Xcode debugger to show Qt objects in a more useful way?

Scheduled Pinned Locked Moved Qt Creator and other tools
xcodedebugging
1 Posts 1 Posters 1.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Ghopper21
    wrote on 3 Jun 2015, 23:12 last edited by
    #1

    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 Reply Last reply
    0

    1/1

    3 Jun 2015, 23:12

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved