Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Custom python debug helpers broken?



  • Hi,

    I have some custom debug helpers that work till QtCreator 4.9.2.
    When I try to use exactly the same debug helpers with a release from 4.10 or later these debug helpers don't seem to work anymore. ( Don't get any error or warning message). I tried newer version till latest version 4.12 but none work.
    Funny part is: if I copy share/qtcreator/debugger/gdbbridge.py from the 4.9.2 release to 4.10.0 release, my debug helpers work again

    Does anybody know if this is a deliberate change in qtcreator since 4.10.0 with respect to these Python debug helpers?
    If yes, how should I adapt my debug helpers to work with newer version?

    Or maybe this is a bug in qtcreator?

    Best regards,

    Gino



  • Hi,

    found solution myself: it seems the custom .py file needs to include
    import dumper
    instead of
    from dumper import *

    as it is also shown in the new personaltypes.py example.

    This makes my debug helpers work for all versions.

    Best regards,

    Gino



  • Hi,

    found solution myself: it seems the custom .py file needs to include
    import dumper
    instead of
    from dumper import *

    as it is also shown in the new personaltypes.py example.

    This makes my debug helpers work for all versions.

    Best regards,

    Gino


Log in to reply