extragear/sdk/kdevelop/app

Andreas Pakulat apaku at gmx.de
Thu Feb 4 20:12:31 UTC 2010


On 04.02.10 18:54:05, Amilcar do Carmo Lucas wrote:
> 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

Thanks a lot, though the second entry is wrong by now. I'll remove it.

Andreas

-- 
Don't relax!  It's only your tension that's holding you together.




More information about the KDevelop-devel mailing list