extragear/sdk/kdevelop/app
Amilcar do Carmo Lucas
amilcar at kdevelop.org
Thu Feb 4 17:54:05 UTC 2010
On Thursday 04 February 2010 02:06:52 Andreas Pakulat wrote:
> For debugging kdevelop you'll need to do this (should be doable in
> .gdbinit):
>
> set follow-fork-mode child
> break <kdevelop>/app/main_internal.cpp:62
> continue
> .... (wait until it stops at main_internal.cpp)
> set follow-fork-mode parent
> continue
>
> The reason is that if you enable follow-child once, gdb will also try to
> hook into other subprocesses like cmake or qmake runs being done. So you
> need to reset it once you're in the "real app". The follow-child is
> (obviously) needed to let gdb actually hook into the real app which
> loads everything.
>
> Of course the envvar is still used and hence you can just as well do
>
> KDEV_SESSION="uuid" gdb kdevelop.bin
>
http://www.kdevelop.org/mediawiki/index.php/KDevelop_4/Tips_and_tricks
--
Amilcar Lucas
KDevelop developer/webmaster
More information about the KDevelop-devel
mailing list