controling debug output

Casper Boemann cbr at boemann.dk
Wed Jun 29 21:13:42 CEST 2005


On Wednesday 29 June 2005 21:02, Michael Thaler wrote:
> On Wednesday 29 June 2005 20:52, Casper Boemann wrote:
> > How on earth do you control what kdDebug is output
>
> Actually I don't know how to control it. I just put
>
> kdDebug() << "time needed for scaling: " << starttime.msecsTo ( stoptime ) 
> << "ms" << endl;
>
> in the code and I start Krita with
>
> krita 2> krita.out
>
> which redirects the debug output to a file and then I open krita.out with
> kate. Kate recognizes if the file is changed and asks to reload it and I
> just use the find dialog to search for "time".
>
> Not very nice, but it works for me.
thanks I'll do that for now

but if someone knows a better answer then please.

btw I have a feeling that all these debug statements affect performance.

-- 
best regards / venlig hilsen
Casper Boemann


More information about the kimageshop mailing list