#5218 catch leave trace regression

obsolete: 8.5.13
closed-fixed
Don Porter
46. Traces (50)
5
2013-03-21
2013-03-21
Don Porter
No

In Tcl 8.4:

% trace add execution catch leave {error test ;#}
% proc demo {} {
catch {set a 1}
puts y
}
% demo
test
% set errorInfo
test
while executing
"catch {set a 1}"
(procedure "demo" line 2)
invoked from within
"demo"

In Tcl 8.5:

% trace add execution catch leave {error test ;#}
% proc demo {} {
catch {set a 1}
puts y
}
% demo
0
% set errorInfo
0
while executing
"catch {set a 1}"
(procedure "demo" line 2)
invoked from within
"demo"

Discussion

  • Don Porter
    Don Porter
    2013-03-21

    This bug is already fixed.

     
  • Don Porter
    Don Porter
    2013-03-21

    • status: open --> closed-fixed
     
  • Don Porter
    Don Porter
    2013-03-21

    Fixed by checkin db3dff4fb2472f42, bug
    fix for 2438181, which must be a Dup of
    this in some sense.