#1 Implement "break for exception"

open-later
nobody
None
5
2004-09-23
2004-08-13
Eirik Dentz
No

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)

Discussion

  • Eirik Dentz

    Eirik Dentz - 2004-08-13

    sample bug file

     
  • Anonymous - 2004-09-23
    • summary: 0.5.3 debugger fails to step in on OS X --> Implement "break for exception"
    • status: open --> open-later
     
  • Anonymous - 2004-09-23

    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.

     
  • Don Taylor

    Don Taylor - 2006-03-09

    Logged In: YES
    user_id=1267423

    +1 vote for this feature.

     
  • Chaim Krause

    Chaim Krause - 2008-08-08

    Logged In: YES
    user_id=639152
    Originator: NO

    +1 for break on exception