Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Fw: Re: Aw: Re: Information regarding debuggin STL in eclipse

-------- Original message --------
Instructions to build gdb with python support are here http://qt-project.org/wiki/QtCreatorBuildGdb
This includes Mac.

  Axel

Gesendet: Mittwoch, 18. April 2012 um 08:22 Uhr
Von: xgsa <xgsa@xxxxxxxxx>
An: "CDT General developers list." <cdt-dev@xxxxxxxxxxx>
Cc: "Axel Müller" <aegges@xxxxxx>
Betreff: Re: [cdt-dev] Information regarding debuggin STL in eclipse
But QtCreator also relies on GDB and its builtin python interpreter for the 
pretty printing. The only difference is that they ship gdb with QtCreator.
AFAIK Qt Creator relies on its own native or python-based dumpers system and does not use pretty printers at all [1]. Now native dumpers are considered as deprecated on all of the platforms except Mac because of troubles with python enabled gdb. It seems in some news I have read that Nokia works on its own version of python enabled gdb that will work properly on Mac. Unfortunately I cannot find a link now.

[1] - http://doc.qt.nokia.com/qtcreator-2.3/creator-debugging-helpers.html

To get pretty printers for Qt and STL working with CDT you must install a 
recent gdb with python support. You can only get it from MacPorts or so. 
Google is your friend to get some instructions.
I could help with a links to pretty printers I use:
 - Qt & KDE pretty printers
 - Boost pretty printers
 - STL Port pretty printers

- Anton






Back to the top