Qt Creator doesn't show values for QObjects when debugging
-
wrote on 1 Mar 2023, 23:18 last edited by
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 -
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-3wrote on 2 Mar 2023, 02:19 last edited byThis 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. -
2/2