Filterin the debug output

David Faure faure at kde.org
Tue Oct 23 14:04:45 BST 2007


On Tuesday 23 October 2007, Boudewijn Rempt wrote:
> On Tue, 23 Oct 2007, Andras Mantia wrote:
> 
> > Hi,
> > 
> >  Is it (technically) possible to filter the debug output as it was with 
> > with KDE3? kdebugdialog doesn't seem to work, and the amount of output 
> > printed to the console not only disturbs when debugging your own app, 
> > but makes things running much slower (see also Andreas's blog).
> > If it's possible, just kdebugdialog not ported, I will give a try to do 
> > it.
> 
> I've got no problems filtering output using kdebugdialog -- at least not
> when running the apps. When running the unittests separately, I get all
> the barf, which is a bit inconvenient

The KDEHOME for unit tests is different, it's ~/.kde-unit-tests. 
You can copy your kdebugrc from ~/.kde4 to that kdehome, and it will then be used
by the unit tests too (kconfigtest modifies the setting for area 0, but no big deal).

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kde-core-devel mailing list