PyDev plugin 0.5.3
Eclipse 3.0 (June 25, 2004)
Java 1.4.2
OS X 10.3.5
Python Interpreters:
Both Apple's System python 2.3 /usr/bin/python
and Fink's Python 2.3.4 /sw/bin/python
Test python file: firstsample.py (attached)
Debugger seems to quit when it encounters bugs. I tried this with
an almost identical set up on a Windows 2000 machine with similar
results. Maybe I'm doing something wrong or don't have my
environment set up right. If you need more information about my
environment, log files, etc. just let me know.
I get the following in the Console pane:
pydev debugger
arg [ 0 ]= /Users/eirik/eclipse/workspace/pyfolder/firstsample.py
arg [ 1 ]= _lesson
arg [ 2 ]= -A
arg [ 3 ]= lessonparm
we got it
testing multiply = this shall add 5 times 6
30
testing multiply = this shall add 5 times 6
30
testing multiply = Debugger exiting with exception
Traceback (most recent call last):
File "/Applications/eclipse/plugins/org.python.pydev.debug_0.5.3/
pysrc/pydevd.py", line 731, in ?
debugger.run('execfile(' + `setup['file']` + ')', None, None)
File "/Applications/eclipse/plugins/org.python.pydev.debug_0.5.3/
pysrc/pydevd.py", line 668, in run
exec cmd in globals, locals
File "<string>", line 1, in ?
File "/Users/eirik/eclipse/workspace/pyfolder/firstsample.py",
line 48, in ?
print "testing multiply = " , multiply (5,6,7)
TypeError: multiply() takes exactly 2 arguments (3 given)
sample bug file
Logged In: YES
user_id=646916
This is expected behavior. It would be nice to implement
"break for exceptions" behavior that Java has, but I have
not done it. Volunteers, I'd be happy to point you in the
right direction. The hardest part will be getting the right
Eclipse UI.
Logged In: YES
user_id=1267423
+1 vote for this feature.
Logged In: YES
user_id=639152
Originator: NO
+1 for break on exception