TIP 62 added several flag values
for passing to Tcl_TraceCommand()
in order to do command execution
tracing. The documentation has
not yet been updated.
So, what flags are missing?
TCL_TRACE_ENTER_EXEC
TCL_TRACE_LEAVE_EXECOh, it looks like there's other flags
for things you can trace which are not exposed in tcl.h at
all! :^(
TCL_TRACE_ENTER_DURING_EXEC TCL_TRACE_LEAVE_DURING_EXEC
TCL_TRACE_ANY_EXEC
TCL_TRACE_EXEC_IN_PROGRESS
TCL_TRACE_EXEC_DIRECT
Don't know which of these need to be transferred to tcl.h
(and hence documented...)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ick! The problem is the documentation of
Tcl_CreateObjTrace() in CrtTrace.3 (which is the interface
that you should use those flags with, not
Tcl_TraceCommand()) - not my maintenance area!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=79902
So, what flags are missing?
TCL_TRACE_ENTER_EXEC
TCL_TRACE_LEAVE_EXECOh, it looks like there's other flags
for things you can trace which are not exposed in tcl.h at
all! :^(
TCL_TRACE_ENTER_DURING_EXEC TCL_TRACE_LEAVE_DURING_EXEC
TCL_TRACE_ANY_EXEC
TCL_TRACE_EXEC_IN_PROGRESS
TCL_TRACE_EXEC_DIRECT
Don't know which of these need to be transferred to tcl.h
(and hence documented...)
Logged In: YES
user_id=80530
Looks like TIP 62 only proposed
(and thus got approved) the two
flag values that are in tcl.h.
If you want to move other flag
values to Tcl's public interface
(tcl.h), we need another TIP.
Logged In: YES
user_id=79902
Ick! The problem is the documentation of
Tcl_CreateObjTrace() in CrtTrace.3 (which is the interface
that you should use those flags with, not
Tcl_TraceCommand()) - not my maintenance area!
Logged In: YES
user_id=80530
Any help available from
the TIP 62 sponsor? Or
the authors?
Logged In: YES
user_id=72656
referring to TIP#62 coauthor.
Logged In: YES
user_id=80530
Dropping priority on this.
Experience has convinced me
this implementation is a big
mess, and leaving it undocumented
at least holds out the hope
it can be revised.
Besides, no one's jumping
forward to do the work.