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

QtCreator boost pretty printing



  • I've seen that the debug display of variables can be enhanced with python scripts (debugging helpers). I was just doing a little test using boost:bimap, and it doesn't seem to be prettified like std::map is. Is there a source for debugging helpers for boost? I didn't find anything on github.



  • The canonical place to put these is ./share/qtcreator/debugger/boosttypes.py in your creator installation. Things should get picked up automatically from there.

    I just noticed that there's already some stub for boost::bimap in there, supposedly to display the number of elements (only).


Log in to reply