I see advice on how to debug a python module that hangs up the process
Oleg A. Paraschenko
usenet at xmlhack.ru
Wed Dec 17 05:58:39 EST 2003
Hello JD,
JD <lists at webcrunchers.com> wrote in message news:<mailman.223.1071608597.9307.python-list at python.org>...
>
> How should I approach debugging this? Are there Python tools? Or should
> I
> use gdb? ktrace? systrace?
I suggest to send process a signal that generates core (ABRT, SEGV or similar)
Then start gdb as usual to debug coredump:
gdb ..path..to..python core
In gdb. use command like "where" to understand what happens.
--
Oleg
More information about the Python-list
mailing list