controling debug output

Michael Thaler michael.thaler at ph.tum.de
Wed Jun 29 21:02:01 CEST 2005


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.

Michael


More information about the kimageshop mailing list