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
Forum Updated to NodeBB v4.3 + New Features

Qt Creator doesn't show values for QObjects when debugging

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
2 Posts 1 Posters 451 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 1 Mar 2023, 23:18 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 2 Mar 2023, 02:19
    0
    • S Snowdrop
      1 Mar 2023, 23:18

      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 2 Mar 2023, 02:19 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 2 Mar 2023, 02:51

      2/2

      2 Mar 2023, 02:19

      • Login

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