This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Disable kDebug()

Tags: None
(comma "," separated)
sommerluk
Registered Member
Posts
12
Karma
0
OS

Disable kDebug()

Sat May 08, 2010 9:54 am
Hello.

Is it possible to disable kDebug() output when compiling for a release?

I thought that -DCMAKE_BUILD_TYPE=Release helps, but with kdebugdialog, I can still enable the messages of kDebug().

Is it the new standard behaviour that the messages are always present, also for releases?

Is it (for performance reasons) okay to use nevertheless kDebug() messages for releases? (I don't want to remove the kDebug() calls for each release.)


Lukas Sommer
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Disable kDebug()

Sat May 08, 2010 11:05 pm
It is completely normal and acceptable to have kDebug() calls present in releases. This especially helps when debugging problems a user is having.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
sommerluk
Registered Member
Posts
12
Karma
0
OS

Re: Disable kDebug()

Sun May 09, 2010 8:05 am
Thanks for your advice.


Lukas Sommer


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]