[Kde-pim] Re: I need help by testing kmail2 with gdb and --nofork

Guy Maurel guy-kde at maurel.de
Tue Jan 18 18:10:04 GMT 2011


On Sunday 16 January 2011 20:26:11 Torgny Nyblom wrote:
> On Sunday 16 January 2011 19.32.36 Guy Maurel wrote:
> > Hello!
> > 
> > As notice at the beginning of kmail-main I try:
> > $ cgdb kmail
> > (gdb) set args --nofork
> > (gdb) show args
> > Argument list to give program being debugged when it is started is
> > "--nofork". (gdb) run
> > Starting program: /usr/local/bin/kmail --nofork
> > [Thread debugging using libthread_db enabled]
> > 
> > ...
> > kmail: Unknown option 'fork'.
> > kmail: Use --help to get a list of available command line options.
> > 
> > Program exited with code 0376.
> > 
> > What do I do wrong?
> 
> You have a kmail process already running
NO, it was the first.

As mentionned by Thomas, short before you, Ihad NO problem the next day!
It is also confirmed by Thiago:
"Yes. Please debug KCmdLineArgs and KUniqueApplication."
Has anybody a method to look at that?

Thanks
-- 
guy
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list