How to translate python into C

Szabolcs Nagy nszabolcs at
Fri Oct 28 17:08:27 CEST 2005

python script crashed and you want to debug it?

if no trace back provided with the line number where the exception
raised, then the crash caused by an extension module (most likely
written in C), i don't know howto debug it, but at least you can find
the place where the crash occures by adding lots of print statements
with debug information.

i don't think compiling to c would make it easier.

there are python debuggers but i've never used one (these can only
debug python scripts not the binary extension modules).

pdb builtin module:

nice debugger with gui:

More information about the Python-list mailing list