kDebug() output not possible to disable

Thiago Macieira thiago at kde.org
Thu May 22 15:55:40 BST 2008


On Thursday 22 May 2008 14:39:53 Andreas Pakulat wrote:
> Hi,
>
> I just noticed that debug output printed via a simple
>
> kDebug() << "foobar";
>
> cannot be turned off via kdebugdialog. I have all area's disabled here,
> but I still see the output of such calls.
>
> Anybody aware of any changes related to that? Should I file a bugreport?

Those can't be disabled, short of disabling debugging when building (i.e., 
release mode).

They are meant for applications only. That means any use of kDebug() with 
debug area 0 in a library is a bug.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080522/b4a076ad/attachment.sig>


More information about the kde-core-devel mailing list