debugging a c module?
Agent Drek
drek at smashpow.net
Sun Sep 9 17:09:43 EDT 2001
On Wed, 5 Sep 2001, Will Ware wrote:
> 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
>
>
thanks for the tip!
--
Derek Marshall
Smash and Pow Inc > 'digital plumber'
http://www.smashpow.net
More information about the Python-list
mailing list