CallVarTraces: save/restore interp state
Closed / Fixed1038021fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-09-30 20:31:19
This test demos the problem.
test var-16.1 {CallVarTraces: save/restore interp error
state} {
trace add variable errorCode write { ;#}
catch {error foo bar baz}
trace remove variable errorCode write { ;#}
set errorInfo
} bar
Attached patch includes the test and
the bug fix.
dgpplain2004-10-01 03:31:21
File Added - 103373: state.patch
dgpplain2004-10-01 05:46:01
Logged In: YES user_id=80530 fix committed to core-8-4-branch
dgpplain2004-10-01 05:54:59
Logged In: YES user_id=80530 corresponding patch (in tclTrace.c) committed to HEAD.
dgpplain2004-10-06 01:08:09
Logged In: YES user_id=80530 Note that fixing this bug allows the ERR_IN_PROGRESS "hack" in Tcl_PopCallFrame to be removed. It was a workaround for this bug.
Log in (anonymous is fine) to add a comment.
Attachments:
- state.patch [download] added by dgp on 2004-10-01 03:31:21. [details]