trackin down hard to find bugs

  • Thread starter Carl J. Van Arsdall
  • Start date
C

Carl J. Van Arsdall

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
(e-mail address removed)
Build and Release
MontaVista Software
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,008
Latest member
Rahul737

Latest Threads

Top