Xfce Forum

Sub domains
 

You are not logged in.

#1 2009-01-28 20:45:16

KarlDemuth
Member
Registered: 2009-01-28
Posts: 2

TRACE() calls in xfce4 source

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

#2 2009-01-30 09:20:21

herd
Member
From: Germany
Registered: 2006-05-18
Posts: 143
Website

Re: TRACE() calls in xfce4 source

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

#3 2009-01-30 21:38:19

KarlDemuth
Member
Registered: 2009-01-28
Posts: 2

Re: TRACE() calls in xfce4 source

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

#4 2009-01-31 19:56:17

mmassonnet
Moderator
From: the milky way galaxy
Registered: 2006-07-30
Posts: 99
Website

Re: TRACE() calls in xfce4 source

--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

Board footer

Powered by FluxBB