Translations:Development/FAQs/Debugging FAQ/16/en

From KDE TechBase

Check out kdesdk, and add this line to your ~/.gdbinit :

source /path/to/kde/sources/kdesdk/scripts/kde-devel-gdb

Then in gdb you can do printqstring myqstring to see its contents. For instance, QString myqstring = QString::fromLatin1("contents"); can be examined using