[Pydev-cvs] org.python.pydev.debug/pysrc pydevd_vars.py,1.2,1.3 pydevd.py,1.7,1.8
Brought to you by:
fabioz
From: Aleksandar T. <at...@us...> - 2004-07-21 18:04:12
|
Update of /cvsroot/pydev/org.python.pydev.debug/pysrc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17109/pysrc Modified Files: pydevd_vars.py pydevd.py Log Message: Trapping the missing attribute exception. Fixes the bug where wxWindows programs could not be stopped Index: pydevd.py =================================================================== RCS file: /cvsroot/pydev/org.python.pydev.debug/pysrc/pydevd.py,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** pydevd.py 26 May 2004 18:56:58 -0000 1.7 --- pydevd.py 21 Jul 2004 18:04:03 -0000 1.8 *************** *** 550,554 **** elif (thread.pydev_step_cmd == CMD_STEP_OVER): if (event is 'return'): # if we are returning from the function, stop in parent ! print "Stepping back one" thread.pydev_step_stop = frame.f_back else: --- 550,554 ---- elif (thread.pydev_step_cmd == CMD_STEP_OVER): if (event is 'return'): # if we are returning from the function, stop in parent ! # print "Stepping back one" thread.pydev_step_stop = frame.f_back else: Index: pydevd_vars.py =================================================================== RCS file: /cvsroot/pydev/org.python.pydev.debug/pysrc/pydevd_vars.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** pydevd_vars.py 7 May 2004 21:51:00 -0000 1.2 --- pydevd_vars.py 21 Jul 2004 18:04:03 -0000 1.3 *************** *** 118,123 **** keys.sort() for k in keys: ! v = frame.f_locals[k] ! xml += varToXML(v, str(k)) return xml --- 118,126 ---- keys.sort() for k in keys: ! try: ! v = frame.f_locals[k] ! xml += varToXML(v, str(k)) ! except Exception, e: ! print >>sys.stderr,"unexpected error, recovered safely", str(e) return xml |