Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > attaching to running python program with the debugger?

Reply
Thread Tools

attaching to running python program with the debugger?

 
 
Andy Leszczynski
Guest
Posts: n/a
 
      12-13-2005
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.
 
Reply With Quote
 
 
 
 
SPE - Stani's Python Editor
Guest
Posts: n/a
 
      12-13-2005
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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Doesn't MS-Windows likes Python ? (or: why more than 20 sec delaywhen running a program from Python) Stef Mientki Python 0 11-01-2009 11:42 PM
attaching Tkinter Listbox to python list object Steve Potter Python 2 03-13-2007 01:33 AM
attaching debugger to runinng python program alf Python 4 07-15-2006 09:03 AM
Attaching files in windows using Python. sri2097 Python 2 03-11-2006 09:35 PM
Attaching to a Python Interpreter a la Tcl DE Python 6 02-24-2005 01:49 PM



Advertisments