Summary: | The debugger (gdb) cannot display values of instances of the MyMoneyMoney class | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Ralf Habacker <ralf.habacker> |
Component: | buildsystem | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version First Reported In: | 5.1.92 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | All | ||
Latest Commit: | https://invent.kde.org/office/kmymoney/-/commit/cac6330c8062930452b06b552474c8c76b31caef | Version Fixed In: | 5.2 |
Sentry Crash Report: | |||
Attachments: | Patch fixing the issue |
Description
Ralf Habacker
2025-02-10 11:13:49 UTC
Git commit cac6330c8062930452b06b552474c8c76b31caef by Ralf Habacker. Committed on 10/02/2025 at 11:15. Pushed by habacker into branch 'master'. Add gdb pretty printer for MyMoneyMoney class With Windows/gdb, 'set auto-load safe-path /' must be used before starting an executable file to activate the loading of a pretty printer. Gdb pretty printers work in kdevelop and the gdb window in QtCreator with the 'p' command, but currently not in the symbol display due to a bug in the QtCreator gdb bridge (https://bugreports.qt.io/browse/QTCREATORBUG-32480). FIXED-IN:5.2 M +6 -0 kmymoney/mymoney/CMakeLists.txt A +28 -0 kmymoney/mymoney/kmm_mymoney-gdb.py https://invent.kde.org/office/kmymoney/-/commit/cac6330c8062930452b06b552474c8c76b31caef (In reply to Ralf Habacker from comment #1) ... > Gdb pretty printers work in kdevelop and the gdb window in > QtCreator with the 'p' command, but currently not in the > symbol display due to a bug in the QtCreator gdb bridge > (https://bugreports.qt.io/browse/QTCREATORBUG-32480). A merge request has been opened at https://codereview.qt-project.org/c/qt-creator/qt-creator/+/624064 with a corresponding correction for QtCreator. Created attachment 178319 [details] Patch fixing the issue (In reply to Ralf Habacker from comment #2) > A merge request has been opened at > https://codereview.qt-project.org/c/qt-creator/qt-creator/+/624064 with a > corresponding correction for QtCreator. A corresponding correction will be included in Qt Creator 16.0.0-rc1. For older versions, the patch has been appended to this ticket and can be applied to /usr/share/qtcreator/debugger/gdbbridge.py. Git commit ef21565070fa0325693ab579f9318eea341610e3 by Ralf Habacker. Committed on 15/02/2025 at 08:57. Pushed by habacker into branch 'master'. Add gdb pretty printer for MyMoneyPrice, MyMoneySecurity and MyMoneySplit classes These pretty printers significantly improve the debugging capabilities of KMyMoney. M +118 -6 kmymoney/mymoney/kmm_mymoney-gdb.py https://invent.kde.org/office/kmymoney/-/commit/ef21565070fa0325693ab579f9318eea341610e3 |