kDebug improvements

Cyrille Berger cberger at cberger.net
Wed Jan 17 09:35:08 GMT 2007


> And removing the extra << endl could be done in one go throughout the
> code. Actually here is the only issue, about how to deal with:
> kDebug() << "somestring";
> somecode
> kDebug() << "anotherstring" << endl;
> if such case exists at all. IIRC kDebug already warns you about missing
> endl.
>
> I'm all for it, as it would really make things easier, especially this
> endl stuff.

Actually I am more for removing the endl warning (and crash, yes yes it often 
crashes if you don't have the endl). It's very annoying if you want to 
display the content of an array on the debug output.

-- 
Cyrille Berger




More information about the kde-core-devel mailing list