|
2026-11-18
| ||
| 16:27 | • Closed ticket [1030133fff]: more leave trace tests needed plus 8 other chang... artifact: 90110a1456 user: jan.nijtmans | |
| 16:27 | Add tests for [1030133fff]: leave and leavestep traces must not change the result, -errorcode, -erro... check-in: f27b49fca0 user: jan.nijtmans tags: core-8-6-branch | |
| 13:33 | Add tests for [1030133fff]: leave and leavestep traces must not change the result, -errorcode, -erro... check-in: 814c5c4763 user: jan.nijtmans tags: core-9-0-branch | |
|
2026-11-15
| ||
| 14:06 | Add tests for [1030133fff]: leave and leavestep traces must not change the result, -errorcode, -erro... check-in: a865e670da user: jan.nijtmans tags: trunk, main | |
|
2026-10-17
| ||
| 06:40 | • Ticket [1030133fff] more leave trace tests needed status still Open with 3 o... artifact: 40f464327c user: serhiy.storchaka | |
| 06:39 | Add tests for [1030133fff]: leave and leavestep traces must not change the result, -errorcode, -erro... closed check-in: 3cb057b2bd user: serhiy.storchaka tags: leave-trace-tests | |
|
2004-09-17
| ||
| 22:43 | • New ticket [1030133fff] more leave trace tests needed. artifact: a841910586 user: dgp | |
more leave trace tests needed
Closed / Fixed1030133fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 14 days ago
Descriptionplain2004-09-17 22:43:04
TEOVI takes care during leave traces to save and later restore the return options from the main command evaluation. There are no tests to demonstrate errors when this code is not present. Add some.
Referenced by4
f27b49fca0Add tests for [1030133fff]: leave and leavestep traces must not change the result, -errorcode, -errorinfo or custom return options of the traced command (trace-42.1 to trace-42.5) check-in2026-11-18 16:27:09814c5c4763Add tests for [1030133fff]: leave and leavestep traces must not change the result, -errorcode, -errorinfo or custom return options of the traced command (trace-42.1 to trace-42.5) check-in2026-11-18 13:33:36a865e670daAdd tests for [1030133fff]: leave and leavestep traces must not change the result, -errorcode, -errorinfo or custom return options of the traced command (trace-42.1 to trace-42.5) check-in2026-11-15 14:06:243cb057b2bdAdd tests for [1030133fff]: leave and leavestep traces must not change the result, -errorcode, -errorinfo or custom return options of the traced command (trace-42.1 to trace-42.5). check-in2026-10-17 06:39:49
serhiy.storchakawiki2026-10-17 06:40:56
The save and restore are now in TclCheckExecutionTraces() and TclCheckInterpTraces() (tclTrace.c). Existing tests catch their removal only partly, and none checks -errorcode, -errorinfo or custom return options. Proposed tests in branch leave-trace-tests: trace-42.1 to trace-42.5 check that leave and leavestep traces keep the result and return options of the traced command; they fail when Tcl_RestoreInterpState() is removed.
jan.nijtmanswiki2026-11-18 16:27:24
Merged to [trunk], core-9-0-branch and core-8-6-branch
Many thanks!
Log in (anonymous is fine) to add a comment.