trackin down hard to find bugs

Discussion in 'Python' started by Carl J. Van Arsdall, Sep 6, 2006.

  1. 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

    Build and Release
    MontaVista Software
     
    Carl J. Van Arsdall, Sep 6, 2006
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. puzzlecracker

    const BUGS me down!

    puzzlecracker, Apr 26, 2005, in forum: C++
    Replies:
    8
    Views:
    363
    Karl Heinz Buchegger
    Apr 26, 2005
  2. Replies:
    7
    Views:
    315
    Erland Sommarskog
    Aug 17, 2007
  3. Popezilla
    Replies:
    2
    Views:
    543
    Cowboy \(Gregory A Beamer\)
    Jan 28, 2009
  4. Elvis
    Replies:
    1
    Views:
    231
  5. Josef 'Jupp' Schugt

    Still use 'ruby-bugs' for Ruby bugs?

    Josef 'Jupp' Schugt, Nov 4, 2004, in forum: Ruby
    Replies:
    2
    Views:
    183
    Tom Copeland
    Nov 4, 2004
Loading...

Share This Page