You are not logged in.
Hello,
I am doing the first experiments to compile a panel plugin.
If I start a debug panel session with "PANEL_DEBUG=1 xfce4-panel" or "PANEL_DEBUG=all xfce4-panel", then I can't see any output of the macro DBG() which is supposed to print debug messages on stdout.
I can see my debug messages if, instead, I use g_message()
I guess I am missing a switch in the ./configure command
Anyone can help me? There isn't much information concerning how to develop a panel plugin starting from zero and I am facing some difficulties.
Thank you.
Offline
When you compile the xfce4-dev-tools and the xfce4-panel make sure you pass: ./autogen.sh --enable-debug=full (or ./configure --enable-debug=full) that will turn on the DBG and TRACE macros. You won't need --enable-debug=full for any of the others unless you want to debug them.
Offline
Thank you Eric, it works!
Effectively after the ./autogen.sh --enable-debug=full I get now:
* Debug Support: full
instead of
* Debug Support: minimal
Offline
But is there any difference between DBG and TRACE macros?
I just gave it a try, haven't look at the code yet. The print format seems to be the same.
Offline
[ Generated in 0.008 seconds, 7 queries executed - Memory usage: 521.84 KiB (Peak: 529.35 KiB) ]