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

Jump to: navigation, search
kdesdk をチェックアウトし ~/.gdbinit に以下の行を加えて下さい。
source /path/to/kde/sources/kdesdk/scripts/kde-devel-gdb

そうすれば、gdb で printqstring myqstring とすることで内容を見ることができます。 たとえば、QString myqstring=QString::fromLatin1("contents") は次のマクロで調べることができます。


This page was last modified on 17 February 2012, at 04:52. This page has been accessed 61 times. Content is available under Creative Commons License SA 3.0 as well as the GNU Free Documentation License 1.2.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal