[Qt-interest] Are there any disadvantages with OT
BRM
bm_witness at yahoo.com
Sat Feb 27 01:49:41 CET 2010
----- Original Message ----
> From: Thiago Macieira <thiago at kde.org>
> 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 , I
> > have to use my p_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
Thanks for the tip. Unfortunately, as much as I like Qt Creator it just doesn't fit my work flow the moment, which tends to be mostly command-line oriented.
May be in the near future though. In the mean time that'll make a great addition to my bag of tricks. Thanks!
Ben
More information about the Qt-interest-old
mailing list