[Development] Gdb pretty printers for Qt 5

BRM bm_witness at yahoo.com
Mon Jan 7 18:31:15 CET 2013


> From: Niko Sams <niko.sams at gmail.com>

> Sent: Sunday, January 6, 2013 3:49 PM
> Subject: [Development] Gdb pretty printers for Qt 5
> years ago I started working on gdb pretty printers for Qt 4 that allow
> printing eg. QString or QList values. Similar to what QtCreator does
> but with one big difference: it also works with plain gdb.
> Pretty printers are implemented in python and can be shipped with the
> library they are built for. Ubuntu does that for libstdc++ [1]
> 
> The merge request [2] I created back then got rejected - it now gets
> shiped with KDevelop and people also use it for cli - which requires
> not so strait forward manual set up.
> 
> I'd like to try again to get this into Qt 5 - where it imho belongs.
> Would such a patch get accepted?
> 
> Cheers,
> Niko
> 
> [1] 
> http://packages.ubuntu.com/search?suite=oneiric&arch=any&searchon=contents&keywords=stdcxx%2Fv6%2Fprinters.py
> [2] http://qt.gitorious.org/qt/qt/merge_requests/699

+1

This would be really useful. I had to write my own for Qt4, and it would be great to have a uniform, documented way to work with GDB
and be able to interact with Qt-based objects - like QString, QByteArray, etc.

Ben




More information about the Development mailing list