|
2009-07-29
| ||
| 19:52 | • Ticket [462580ffff] add support for command tracing status still Closed with... artifact: 12ed42d4ee user: dkf | |
|
2008-11-02
| ||
| 18:26 | • Ticket [462580ffff]: 7 changes artifact: 934737c88d user: dkf | |
|
2004-03-03
| ||
| 18:05 | • Ticket [462580ffff]: 1 change artifact: 2a3bd2aec9 user: dkf | |
|
2004-03-02
| ||
| 00:40 | • Closed ticket [462580ffff]. artifact: ed5da6d3cc user: dgp | |
|
2004-02-28
| ||
| 10:23 | • Ticket [462580ffff]: 5 changes artifact: bfc08cb198 user: dgp | |
| 10:14 | • Add attachment test.patch to ticket [462580ffff] artifact: 3092deecb4 user: dgp | |
| 10:14 | • Ticket [462580ffff] add support for command tracing status still Open with 4... artifact: 875aa12f7e user: dgp | |
| 10:14 | • Ticket [462580ffff]: 4 changes artifact: 78f474d5c7 user: dgp | |
| 08:49 | • Open ticket [462580ffff]. artifact: fccf2076fb user: dgp | |
|
2002-06-18
| ||
| 05:53 | • Closed ticket [462580ffff]. artifact: 857b924570 user: hobbs | |
|
2002-06-16
| ||
| 04:10 | • Ticket [462580ffff]: 4 changes artifact: 702923d4b3 user: dgp | |
| 02:05 | • Add attachment tip62.diff to ticket [462580ffff] artifact: ab6a0906dc user: hemanglavana | |
| 02:05 | • Ticket [462580ffff] add support for command tracing status still Open with 4... artifact: 3b29efe2fe user: hemanglavana | |
|
2002-04-30
| ||
| 01:00 | • Ticket [462580ffff]: 5 changes artifact: 72f6420ef6 user: vincentdarley | |
|
2002-01-17
| ||
| 04:23 | • Open ticket [462580ffff]. artifact: 1fb73e8e0e user: hobbs | |
| 04:02 | • Ticket [462580ffff]: 6 changes artifact: 24c2cd8923 user: hemanglavana | |
| 01:52 | • Closed ticket [462580ffff]. artifact: a80e2ed474 user: hobbs | |
|
2001-09-19
| ||
| 19:17 | • Ticket [462580ffff]: 4 changes artifact: b80204a372 user: hemanglavana | |
|
2001-09-18
| ||
| 23:08 | • Ticket [462580ffff]: 4 changes artifact: f7c81ee48b user: hemanglavana | |
| 23:08 | • Add attachment runbench-sunultra5.log to ticket [462580ffffffffff|46258... artifact: c082885712 user: hemanglavana | |
| 23:07 | • Ticket [462580ffff] add support for command tracing status still Open with 4... artifact: ae0438c55e user: hemanglavana | |
| 23:07 | • Add attachment tracecmd.cdiff to ticket [462580ffff] artifact: 27dfd26d5c user: hemanglavana | |
| 16:07 | • New ticket [462580ffff] add support for command tracing. artifact: eeea8c66bc user: hemanglavana | |
add support for command tracing
Closed462580ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 17 years ago
Descriptionplain2001-09-18 16:07:00
The trace command should facilitate tracing of commands for the following operations: before, after, preinside and postinside. I will be submitting a TIP to TCT with more details on this request. I am attaching a patch (originally created by Vince Darley) which implements this feature. I am also attaching the results of running the tclbench with the new feature for performance evaluation. Hemang.
hemanglavanaplain2001-09-18 23:07:02
File Added - 10931: tracecmd.cdiff
hemanglavanaplain2001-09-18 23:08:47
File Added - 10932: runbench-sunultra5.log Logged In: YES user_id=81875 Here are the results of running tclbench for performance evaluation.
hemanglavanaplain2001-09-19 19:17:38
Logged In: YES user_id=81875 TIP # 62: ADD SUPPORT FOR COMMAND TRACING ============================================= URL: http://purl.org/tcl/tip/62.html WebEdit: http://purl.org/tcl/tip/edit/62
hobbsplain2002-01-17 01:52:59
Logged In: YES user_id=72656 this is in 8.4.
hemanglavanaplain2002-01-17 04:02:45
Logged In: YES user_id=81875 I beleive this bug was closed and changed to fixed state by mistake. Because how can this be available in 8.4 when TIP# 62 is still in "Draft" state?
hobbsplain2002-01-17 04:23:29
Logged In: YES user_id=72656 Somehow I thought that had already gotten in. Ah well...
vincentdarleyplain2002-04-30 01:00:08
Logged In: YES user_id=32170 Jeff: how about calling a vote, so this /can/ get into 8.4?
hemanglavanaplain2002-06-16 02:05:20
File Added - 25173: tip62.diff Logged In: YES user_id=81875 I am attaching the updated patch that implements the feature described in TIP# 62. Issues related to namespace mechanism (for setting traces on command execution and rename/delete) are not resolved by this patch. These will be addressed sometime in the future.
dgpplain2002-06-16 04:10:35
Logged In: YES user_id=80530 unless there's some maintainer who objects, please go ahead and commit this patch so it can reach more testers and maybe start getting bug fixes before beta.
hobbsplain2002-06-18 05:53:55
Logged In: YES user_id=72656 commited 2002-06-17
dgpplain2004-02-28 08:49:50
Logged In: YES user_id=80530 It looks like the TIP 62 implementation changed the "level" interpretation from iPtr->numLevels to iPtr->varFramePtr->level, creating an inconsistency with Tcl 8.3. Claiming as I am testing this theory.
dgpplain2004-02-28 10:14:42
Logged In: YES user_id=80530 Apply test.patch to both Tcl 8.3.5 and to Tcl 8.4.6. Then run the basic.test file in the test suite, and see that test basic-39.10 passes in 8.3.5 and fails in 8.4.6, demonstrating the incompatibility introduced in the operation of Tcl_CreateTrace().
dgpplain2004-02-28 10:14:43
File Added - 78310: test.patch
dgpplain2004-02-28 10:23:27
Logged In: YES
user_id=80530
The fix is very simple. Change
line 4308 of tclCmdMZ.c from
curLevel = ((iPtr->varFramePtr == NULL) ? 0 :
iPtr->varFramePtr->level);
to
curLevel = iPtr->numLevels;
Porting this fix to the HEAD will involve
tracking where things moved to
in tclTrace.c.
dgpplain2004-03-02 00:40:38
Logged In: YES user_id=80530 Fix committed to HEAD and to core-8-4-branch. RE can decide whether to include in 8.4.6 release.
dkf Ticket [462580ffff]: 1 change
[History diff]2004-03-03 18:05:05
dkfplain2008-11-02 18:26:57
data_type - 210894
dkfplain2009-07-29 19:52:00
IP - Comment Removed: 130.88.1.31
Log in (anonymous is fine) to add a comment.
Attachments:
- test.patch [download] added by dgp on 2004-02-28 10:14:43. [details]
- tip62.diff [download] added by hemanglavana on 2002-06-16 02:05:20. [details]
- runbench-sunultra5.log [download] added by hemanglavana on 2001-09-18 23:08:47. [details]
- tracecmd.cdiff [download] added by hemanglavana on 2001-09-18 23:07:01. [details]