The K Desktop Environment

Chapter 1. What is KDebugDialog

It is a dialog box for managing diagnostic messages at runtime

If you simply start "kdebugdialog", you will see a list of "areas", that can be disabled or enabled. A kdDebug(area) call in the code will show something in the debug output only if the area is enabled.

Note that kdWarning, kdError and kdFatal always appear, they are NOT controlled by this setting.

If you start "kdebugdialog --fullmode", you can define separately for every severity level what should be done with the diagnostic messages of that level, and this for each debug area.

In the full mode, the following settings are available:

Apart from this, you can also tick the checkbox "Abort on fatal errors". In this case, if a diagnostic message with the severity level "KDEBUG_FATAL" is output, the application aborts with a SIGABRT after outputting the message.

When you close the dialog with OK, your entries apply immediately and saved in kdebugrc. When you press cancel, your entries are discarded and the old ones are restored.

Credits to Kalle Dalheimer for the original version of kdebugdialog