[Qt-interest] Are there any disadvantages with OT

Thiago Macieira thiago at kde.org
Fri Feb 26 18:50:59 CET 2010


Em Sexta-feira 26. Fevereiro 2010, às 18.32.35, BRM escreveu:
> - I do have to agree that pimpl is way over-used. It also tends to break
> debuggers - including Visual Studios - and make it hard to debug even
> under GDB. For example, QString values are not shown directly under Visual
> Studios debugger - you have to go down several levels and search for a
> little bit. (Yes, I'm using the VS Add-in.) In GDB, I had to write my own
> user-defined functions, b/c otherwise you just get a the d pointer value.
> So now that's one more thing I have to remember - can't do p <qstring>, I
> have to use my p_qstring <qstring>. I haven't yet written one for the
> QByteArray or QList, or any number of others - so it's a little harder to
> get the data in debug mode without going back to qDebug() or something
> similar in the program.

If you won't use the GDB integration in Qt Creator, maybe this set of GDB 
macros will help you:

http://websvn.kde.org/trunk/KDE/kdesdk/scripts/kde-devel-gdb?view=markup

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100226/762652b3/attachment.bin 


More information about the Qt-interest-old mailing list