Hi
> So, I would like to use python-dbg to actually see what's happening, but I
> couldn't figure out how to build the debug info for pyclutter. So my
> question is: How can I do it?
Debugging with python can be quite troublesome, notably finding memory
leaks in a global fashion (if anyone has a viable option/tutorial
other than using PyRex+valgrind or working on lower levels, please
suggest).
Remember you can use gdb with python:
gdb python
>>> run test.py (if in the same folder)
Will let you see thread creation, backtraces, ...
For clutter debugging messages, you should export CLUTTER_DEBUG to
'all' or simply add
import os
os.environ['CLUTTER_DEBUG'] = 'all'
before importing clutter in your program
As for debug packages, you'd need (AFAIK) to manually compile the C
clutter packages with extra debug options (when doing ./configure).
Hope this helps
Florent
--
To unsubscribe send a mail to [EMAIL PROTECTED]