[Howto] Compiling debug Python extensions for non-debug Python

Edward C. Jones edcjones at erols.com
Sun Oct 12 11:21:19 EDT 2003


Mike C. Fletcher wrote:
> Every few months I get to working on a Python C extension (built with 
> distutils) and discover a pointer error or the like where I'd like to be 
> able to step into my DLL and see where the extension is going wonky.
...

I have had the same problem in Linux. In the old DOS Borland Debugger, I 
could tell the debugger to display a particular source code file. Then I 
could set a breakpoint in it. Is this possible in gdb or some other UNIX 
debugger? Has anyone ported the Borland Debugger to Linux?





More information about the Python-list mailing list