Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2008-03-12
22:44 • Ticket [753306ffff] Tcl_TraceCommand docs not up to date (TIP 62) status sti... artifact: a62d68dfd4 user: dgp
2007-11-28
01:48 • Ticket [753306ffff]: 2 changes artifact: c18081bac0 user: dgp
2006-03-10
09:56 • Ticket [753306ffff]: 5 changes artifact: b50bf2a19d user: dgp
2005-03-02
01:47 • Ticket [753306ffff]: 2 changes artifact: 411f8c4d37 user: msofer
2003-07-19
02:19 • Ticket [753306ffff]: 5 changes artifact: 689b95ad67 user: hobbs
2003-07-16
10:24 • Ticket [753306ffff]: 5 changes artifact: 5caad1b78e user: dgp
2003-06-26
22:46 • Ticket [753306ffff]: 1 change artifact: 469534c64e user: dgp
17:24 • Ticket [753306ffff]: 1 change artifact: 628e5e747f user: dkf
04:21 • Ticket [753306ffff]: 6 changes artifact: 89df84bb32 user: dkf
03:47 • Ticket [753306ffff]: 4 changes artifact: 02fb4ed5c6 user: dgp
03:40 • Ticket [753306ffff]: 4 changes artifact: 730a313d64 user: dkf
2003-06-25
04:39 • Ticket [753306ffff]: 1 change artifact: 0ebd6ebca4 user: dkf
2003-06-12
14:14 • New ticket [753306ffff]. artifact: 4470a4c033 user: dgp

Tcl_TraceCommand docs not up to date (TIP 62)

Open753306ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 19 years ago
Descriptionplain2003-06-12 14:14:51
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.
dkf Ticket [753306ffff]: 1 change [History diff]2003-06-25 04:39:35
dkfplain2003-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...)
dgpplain2003-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.
dkfplain2003-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!
dkf Ticket [753306ffff]: 1 change [History diff]2003-06-26 17:24:38
dgp Ticket [753306ffff]: 1 change [History diff]2003-06-26 22:46:52
dgpplain2003-07-16 10:24:02
Logged In: YES 
user_id=80530


Any help available from
the TIP 62 sponsor?  Or
the authors?
hobbsplain2003-07-19 02:19:55
Logged In: YES 
user_id=72656

referring to TIP#62 coauthor.
msofer Ticket [753306ffff]: 2 changes [History diff]2005-03-02 01:47:04
dgpplain2006-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.
dgp Ticket [753306ffff]: 2 changes [History diff]2007-11-28 01:48:11
dgp Ticket [753306ffff]: 1 change [History diff]2008-03-12 22:44:20
Log in (anonymous is fine) to add a comment.