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

Revision as of 04:52, 17 February 2012 by Phanect (Talk | contribs) (Created page with "kdesdk をチェックアウトし ~/.gdbinit に以下の行を加えて下さい。{{Input|1=source /path/to/kde/sources/kdesdk/scripts/kde-devel-gdb}} そうすれば、gdb ...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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. Content is available under Creative Commons License SA 4.0 unless otherwise noted.