Skip to content
Tcl Source Code View Ticket
Login

View Ticket

catch leave trace regression

Closed / Fixed3608676fffffffffffffffffffffffffffffffffCreated 14 years agoUpdated 14 years ago
Descriptionplain2013-03-21 04:38:07
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"
dgpplain2013-03-21 19:59:33
This bug is already fixed.
dgpplain2013-03-21 20:17:38
allow_comments - 1

Fixed by checkin db3dff4fb2472f42, bug
fix for 2438181, which must be a Dup of
this in some sense.
Log in (anonymous is fine) to add a comment.