Skip to content
Tcl Source Code Changes To branch/c11-tebc-trace-cleanup
Login

Changes To branch/c11-tebc-trace-cleanup

Changes to "branch/c11-tebc-trace-cleanup" between 2025-10-23 10:47:07 and 2025-10-23 12:56:01

1

2
3
4
5

1
2
3
4
5
-
+




This is based on the much wider changes in the `c-std-update` branch.
This is based on the much wider changes in the [`c-std-update`](https://core.tcl-lang.org/tcl/timeline?r=c-std-update) branch.

The primary thing this does is rework `TRACE` and `TRACE_APPEND` macros to not need an extra level of nesting. This approach can't be used to fix the `TRACE_WITH_OBJ` macro (without _major_ hackery!) so that's converted instead into calls to `TRACE` and `TRACE_APPEND_OBJ` (which is a simple wrapper of `TRACE_APPEND`).

The bulk of the changes here are dealing with the consequences of this, and going through and fixing the instruction tracing (which was broken in a few places due to missing or unbalanced calls to `TRACE`; not so many are running with [`set tcl_traceExec 3`] I guess).