Wine Documentation | ||
---|---|---|
<<< Previous | Debug Logging | Next >>> |
So, the --debugmsg command line option has been changed as follows:
the new syntax is: --debugmsg [yyy]#xxx[,[yyy1]#xxx1]* where # is either + or -
when the optional class argument (yyy) is not present, then the statement will enable(+)/disable(-) all messages for the given channel (xxx) on all classes. For example:
--debugmsg +reg,-file |
enables all messages on the reg channel and disables all messages on the file channel. This is same as the old semantics.
when the optional class argument (yyy) is present, then the statement will enable (+)/disable(-) messages for the given channel (xxx) only on the given class. For example:
--debugmsg trace+reg,warn-file |
enables trace messages on the reg channel and disables warning messages on the file channel.
also, the pseudo-channel all is also supported and it has the intuitive semantics:
--debugmsg +all -- enables all debug messages --debugmsg -all -- disables all debug messages --debugmsg yyy+all -- enables debug messages for class yyy on all channels. --debugmsg yyy-all -- disables debug messages for class yyy on all channels. |
So, for example:
--debugmsg warn-all -- disables all warning messages. |
Also, note that at the moment:
the FIXME and ERR classes are enabled by default
the TRACE and WARN classes are disabled by default
<<< Previous | Home | Next >>> |
Resource identifiers | Up | Compiling Out Debugging Messages |