[Qt-interest] GDB Macros for debugging Qt in Eclipse
Gustavo de Sá Carvalho Honorato
gustavohonorato at gmail.com
Fri Mar 11 18:24:46 CET 2011
Hi,
I'm developing using Eclipse CDT with Qt Integration and I'm quite satisfied
with it, except that I can't see any Qt data structures values (such as
QString) during a debug session.
I've saw this topic in KDE Tech Base (
http://techbase.kde.org/Development/Tutorials/Debugging/Debugging_with_GDB#Improving_your_gdb_experience_for_KDE.2FQt_applications)
explaining how to setup GDB macros that help looking into Qt objects.
I've created a .gdbinit file in my home directory and added the "source"
command pointing to kde-devel-gdb file. When I start the debugger inside
Eclipse, I got the message ".gdbinit: File not found" and none of the Qt
symbols are readable.
Does anyone know what is happening?
Thanks,
Gustavo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110311/ff6a0130/attachment.html
More information about the Qt-interest-old
mailing list