[pypy-issue] [issue1204] gdb hooks for debugging PyPy
Dave Malcolm
tracker at bugs.pypy.org
Thu Jul 5 21:43:58 CEST 2012
Dave Malcolm <dmalcolm at redhat.com> added the comment:
Motivation: although PyPy's generated C code may be perfect, as soon as you link 3rd-party code into the
process (e.g. via extension modules, ctypes, or some other FFI), the process runs the risk of crashes
induced by bugs in that 3rd party code. Hence it's useful to have some way of debugging the process and
figuring out e.g. what thread is doing what. (For example: pointers getting freed by 3rd party code that
shouldn't have freed them, refcounting bugs in extension modules, random pointer corruption, etc etc)
________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1204>
________________________________________
More information about the pypy-issue
mailing list