Skip to content
Tcl Source Code Artifact [38fe648a7f]
Login

Artifact [38fe648a7f]

Artifact 38fe648a7f838c895a8dc05163ae7e3c371e052f6bc62519cf5cbd7710fbc637:

Wiki page [branch/c11-tebc-trace-cleanup] by dkf on 2025-10-23 12:56:01.
D 2025-10-23T12:56:01.711
L branch/c11-tebc-trace-cleanup
N text/x-markdown
P 46bc582f12dc9af343cb64fd99c371fef2b9254a0bd7bbb30d2dc9652857d44b
U dkf
W 721
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).
Z d1001f5ea758c89cf9e1c6923e5ad175