Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2013-03-21
20:17 • Closed ticket [3608676fff]: catch leave trace regression plus 7 other change... artifact: a4e7c3e937 user: dgp
19:59 • Ticket [3608676fff]: 4 changes artifact: e7d5c79191 user: dgp
04:38 • New ticket [3608676fff]. artifact: 14423a3aa2 user: dgp

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.