In order to use
and/or to read debug channel states from an external file, you should call
, for example,
Cancel last call to off().
Encapsulation macro for general debugging code.
The default debug object.
can be used to turn on or off debug channels
, but you still have to turn on the debug object
(s); in particular the debug object
that is used to print WARNING messages in case something is wrong with your rcfile.The default rcfile is
(you can change that by setting the environment variable LIBCWD_RCFILE_NAME
). The application will first attempt to read this file from the current directory
. If that fails then it will try to read the rcfile from the users home directory
. If that fails too then it will fall back to reading
. You can use the latter as a template and/or example
file for writing your own rcfile.