trackin down hard to find bugs
Carl J. Van Arsdall
cvanarsdall at mvista.com
Wed Sep 6 18:00:58 EDT 2006
Hey all,
I have several scripts currently in a production environment. Every two
to three weeks or so our systems end up crashing. Unfortunately the
traceback's aren't enough for me to debug the problem, so I'm having an
issue trying to determine what to do next. The other issue is that
these jobs are all run from various cron tasks from a server, so I don't
have a console to attach pdb to when this system dies. So far I'm not
having any luck reproducing the issue either, so I need to bring in the
big guns somehow.
When I played with C in college i remember that it was possible to
compile the code with debugging support, then when something crashed I
could load the core dump to gdb and work on the problem a little more.
Is there any way to do this with python? Are there any other
suggestions for getting the state of the system after an exception so
that I could piece things together and try to solve this thing?
TIA!
-carl
--
Carl J. Van Arsdall
cvanarsdall at mvista.com
Build and Release
MontaVista Software
More information about the Python-list
mailing list