Skip to content
Tcl Source Code Artifact [46bc582f12]
Login

Artifact [46bc582f12]

Artifact 46bc582f12dc9af343cb64fd99c371fef2b9254a0bd7bbb30d2dc9652857d44b:

Wiki page [branch/c11-tebc-trace-cleanup] by dkf on 2025-10-23 10:47:07.
D 2025-10-23T10:47:07.375
L branch/c11-tebc-trace-cleanup
N text/x-markdown
U dkf
W 664
This is based on the much wider changes in the `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 f4e2b5bbde211a0c7ce8599aa9125c6a