Issue1248

classification
Title: Trace function is not called with a line event for try statements
Type: behaviour Severity: minor
Components: Core Versions: Jython 2.5
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: akong, fwierzbicki, jha
Priority: low Keywords:

Created on 2009-01-27.08:00:04 by jha, last changed 2014-08-16.01:55:32 by akong.

Files
File name Uploaded Description Edit Remove
trace_try.py jha, 2009-01-27.08:00:04
Messages
msg4083 (view) Author: (jha) Date: 2009-01-27.08:00:03
Running the attached script with Jython (r5984) prints:

>>> java -jar jython.jar /tmp/trace_try.py
<trace> call in foobar @ 7
<trace> line in foobar @ 9
foo
<trace> line in foobar @ 11
bar
<trace> return in foobar @ 11

..and CPython (2.5.1, 2.5.2, 2.6) prints:

~> python /tmp/trace_try.py
<trace> call in foobar @ 7
<trace> line in foobar @ 8
<trace> line in foobar @ 9
foo
<trace> line in foobar @ 11
bar
<trace> return in foobar @ 11
History
Date User Action Args
2014-08-16 01:55:32akongsetnosy: + akong
2013-02-25 19:02:06fwierzbickisetnosy: + fwierzbicki
2013-02-25 19:01:38fwierzbickisetversions: + Jython 2.5, - 2.5.1
2009-03-14 14:48:47fwierzbickisetpriority: low
versions: + 2.5.1, - 2.5b1
2009-01-27 08:00:04jhacreate