debugging a c module?
Will Ware
wware at alum.mit.edu
Wed Sep 5 19:47:59 EDT 2001
Agent Drek wrote:
> ...I'm pretty sure
> that this is because I've screwed up a reference count somewhere in the
> module. How do I go about debugging this? I'm using Python-2.1.1...
> Recompile python and the module with debugging? gdb?
This is a trick I used once with Python 1.5.2. You could give it a try.
You won't need gdb, but it will require recompiling Python with
Py_DEBUG on, which enables some C macros in the code.
http://groups.google.com/groups?selm=G18tKx.IJC%40world.std.com
More information about the Python-list
mailing list