Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot pretty print QJsonObject #10

Open
ChristopherPisz opened this issue Apr 11, 2022 · 0 comments
Open

Cannot pretty print QJsonObject #10

ChristopherPisz opened this issue Apr 11, 2022 · 0 comments

Comments

@ChristopherPisz
Copy link

I get the following python errors when trying to view a QJsonObject in the debugger on CentOS7:

gdb.error: Cannot convert value to int.
Traceback (most recent call last):
  File "/opt/rh/devtoolset-8/root/usr/share/gdb/python/gdb/printing.py", line 218, in __call__
    return printer.gen_printer(val)
  File "/home/build/.gdb/qt5printers/core.py", line 397, in __init__
    self.printer = QMapPrinter(gdb.parse_and_eval('((QJsonObject*){:})->toVariantMap()'.format(int(val.address))))
gdb.error: Cannot convert value to int.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant