attaching to running python program with the debugger?

Discussion in 'Python' started by Andy Leszczynski, Dec 13, 2005.

  1. Hi,

    I have a program which somewhere gets into infinite look and take 100%
    of CPU. How can attach to it with the debugger to find out where it
    takes place?


    A.
    Andy Leszczynski, Dec 13, 2005
    #1
    1. Advertising

  2. Hi,
    The new version of SPE 0.8.1.b (Python IDE) supports this. On the
    toolbar press the "run/stop with winpdb button" button ('gear with bug
    in it' icon) and when you want to find out, press the debug button (bug
    icon), then the debugger will break your script and you are even able
    to alter values etc...
    For more instructions, see:
    http://pythonide.stani.be/manual/html/manual3.html (section 1.3)
    Let me know if it works,
    Stani
    --
    http://pythonide.stani.be
    http://pythonide.stani.be/manual/html/manual.html
    SPE - Stani's Python Editor, Dec 13, 2005
    #2
    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. Mark Kamoski
    Replies:
    1
    Views:
    580
    Jim Cheshire [MSFT]
    Aug 5, 2003
  2. Jim Heavey

    Attaching Debugger

    Jim Heavey, Apr 27, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    313
    Jim Heavey
    Apr 27, 2004
  3. alf
    Replies:
    4
    Views:
    454
    Nebur
    Jul 15, 2006
  4. Andrew Taranov

    Problem attaching script debugger to ASP under IIS6

    Andrew Taranov, Jun 23, 2005, in forum: ASP General
    Replies:
    2
    Views:
    184
    [MSFT]
    Jun 24, 2005
  5. Dan Bikle
    Replies:
    2
    Views:
    165
    Dan Bikle
    Nov 14, 2005
Loading...

Share This Page