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. Qt Creator doesn't show values for QObjects when debugging
Qt 6.11 is out! See what's new in the release blog

Qt Creator doesn't show values for QObjects when debugging

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
2 Posts 1 Posters 741 Views
  • 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.
  • S Offline
    S Offline
    Snowdrop
    wrote on last edited by
    #1

    When the debugger stops at a breakpoint, values for QObjects (QString, QList, etc...) are shown as addresses even when they are not pointers/references, and even when they've been explicitly initialized.

    I've made sure that "Use Debugging Helpers" is enabled in the Debugger options, but it makes no difference.

    My System:
    Debian Bookworm (testing)
    Qt Creator 9.0.1
    Qt 6.4.2+dfsg-3

    S 1 Reply Last reply
    0
    • S Snowdrop

      When the debugger stops at a breakpoint, values for QObjects (QString, QList, etc...) are shown as addresses even when they are not pointers/references, and even when they've been explicitly initialized.

      I've made sure that "Use Debugging Helpers" is enabled in the Debugger options, but it makes no difference.

      My System:
      Debian Bookworm (testing)
      Qt Creator 9.0.1
      Qt 6.4.2+dfsg-3

      S Offline
      S Offline
      Snowdrop
      wrote on last edited by
      #2

      @Snowdrop

      This appears to be similar to the following bug: https://bugreports.qt.io/browse/QTCREATORBUG-28659

      Applying the changes specified by pretty-printers.patch to the files in /usr/share/qtcreator/debugger fixed the problem for me.

      1 Reply Last reply
      0
      • S Snowdrop has marked this topic as solved on

      • Login

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