You are not logged in.
Pages: 1
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?
Offline
Depends on which part you want to debug.
./configure --help may tell:
./configure --enable-DEBUG --enable-DEBUG-TRACE
for example:
$ xfwm4>~/mytrace.log 2>&1 &
hth,
herd
Offline
herd,
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!
Karl
Offline
--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.
Mike
Offline
Pages: 1
[ Generated in 0.008 seconds, 8 queries executed - Memory usage: 523.02 KiB (Peak: 523.65 KiB) ]