What do I have to do to enable and how can I view the output from the TRACE() calls that I see in the xfce4 source code?
Depends on which part you want to debug.
./configure --help may tell:
./configure --enable-DEBUG --enable-DEBUG-TRACE
$ xfwm4>~/mytrace.log 2>&1 &
Thanks, that's what I needed. I was trying too hard, searching through the source. I had the stderr part right, but needed ./configure --enable-debug=yes.
Thanks for your help!
--enable-debug=full is the trick here ;-)
However, I wouldn't recommend it if it is really verbose, like for xfwm4 for instance. Instead you can edit the source file and put a #define TRACE(x) printf(x) (I'm not sure 100% the macro is right, it is out of my head). This will allow you to have less verbose information, and more likely just the information you are targetting.