Skip to content
Tcl Source Code Update of ”branch/c11-tebc-trace-cleanup”
Login

Update of ”branch/c11-tebc-trace-cleanup”

Overview

Artifact ID: 46bc582f12dc9af343cb64fd99c371fef2b9254a0bd7bbb30d2dc9652857d44b
Page Name:branch/c11-tebc-trace-cleanup
Date: 2025-10-23 10:47:07
Original User: dkf
Mimetype:text/x-markdown
Next 38fe648a7f838c895a8dc05163ae7e3c371e052f6bc62519cf5cbd7710fbc637
Content

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).