Tcl Source Code

View Ticket
Login
Ticket UUID: 753306
Title: Tcl_TraceCommand docs not up to date (TIP 62)
Type: Bug Created on: 2003-06-12 14:14:51
Submitter: dgp Assigned to: dgp
Subsystem: 46. Traces Severity:
Priority: 5 Medium Last modified: 2008-03-12 22:44:20
Status: Open Closed by:
Resolution: None Closed on:
Version: obsolete: 8.4.9
Description:
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.
User Comments:
dkf added on 2003-06-26 03:40:26:
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...)

dgp added on 2003-06-26 03:47:27:
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.

dkf added on 2003-06-26 04:21:48:
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!

dgp added on 2003-07-16 10:24:02:
Logged In: YES 
user_id=80530


Any help available from
the TIP 62 sponsor?  Or
the authors?

hobbs added on 2003-07-19 02:19:55:
Logged In: YES 
user_id=72656

referring to TIP#62 coauthor.

dgp added on 2006-03-10 09:56:49:
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.