Davor,
Yes, the Python debugger supports changing variable values at run time. As you approach some interesting section of code you can inspect vars and modify them before they are used. Or after they are modified, you can change them before being used in later code. The pdb command is: myVar=myData. Its a lot easier in a GUI debugger.
Can't "restart" that I can see. Make sure you change your vars ahead of execution. The var modification facilities are limited. For example, if you have a populated list you can change individual elements, but cannot replace the entire list.
A short simple tutorial is at:
http://home.att.net/~stephen_ferg/papers/debugging_in_python.html
Bruce
···
-----Original Message-----
From: Davor Cengija [mailto:davor.cengija@mail.inet.hr]
Sent: Thursday, April 03, 2003 11:40 PM
To: wxpython-users@lists.wxwindows.org
Subject: [wxPython-users] RE: Re: Debugger for wxPython and Linux?
brucedickey wrote:
Hi,
What specifically "might be Python's problem"?
When used to Java and Visual Age and/or Eclipse, you'll find 'hot swap'
option very useful: in the middle of the tebugging process change the value
of some variable and restart the process from that line. I don't know if
python supports that.
--
davor.cengija@mail.inet.hr
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org