Artifacts Associated With Ticket 219200
Ticket change [0b6d42fbc7] (rid 113984) by nobody on 2000-10-26 05:03:29:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 2855 RFE Version: 8.2 SubmitDate: '1999-09-21' LastModified: '2000-04-03' Severity: LOW Status: Assigned Submitter: techsupp ChangedBy: hobbs OS: Windows NT OSVersion: 4.0sp5 Machine: X86 FixedDate: '2000-10-25' ClosedDate: '2000-10-25' Name: vince darley Extensions: none Comments: ftp://ftp.ucsd.edu/pub/alpha/tcl/extensions/trace.c contains the C code to a sample extension which uses the new API to create a new command 'tracecommand' which can be used to debug Tcl code quite nicely. The extension may be freely used/distributed etc. DesiredBehavior: Enhance Tcl_CreateTrace for: (i) Tcl_Obj API for greater efficiency in command tracing (ii) Only trigger command traces inside a given command/proc (very useful to debug that command/proc) (iii) Trigger command traces both before and after execution, so that the results of commands can be traced. Note that TclX provides 'cmdtrace' which is about the best that can be done with Tcl's current API. But can't do any of the above, since Tcl doesn't allow it without my patch. Patch: ftp://ftp.ucsd.edu/pub/alpha/tcl/extensions/trace.diff PatchFiles: tcl.h tcl.decls tclBasic.c tclParse.c tclExecute.c Should consider the extension as a possible new module as well. -- 04/03/2000 hobbs - foundin initialized to: "obsolete: 8.2"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "81. Bundled Packages"
- title initialized to: "objectified Tcl_CreateTrace w/ extension"
- type initialized to: "RFE"
Ticket change [6646cd46a1] (rid 102682) by dkf on 2000-12-03 00:50:42:
- foundin changed to: "obsolete: 8.4a3"
- icomment:
Implementing this will almost certainly require a TIP as it is an API change. It will also need documentation and (probably) test suite changes. But it is probably a good idea to do it anyway; not very much code uses the current interface (I believe, but I may be wrong here!) and the gain in efficiency would be a big bonus. On a related point, I've got some code for object-sensitive linking of C and Tcl variables, which may well be useful in some applications...
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
Ticket change [d827171a51] (rid 107388) by dgp on 2001-04-04 03:47:36:
- subsystem changed to: "45. Parsing and Eval"
Ticket change [a09f94ec70] (rid 96845) by hobbs on 2002-01-17 01:42:10:
- closedate changed to: "2002-01-16T18:42:10"
- closer changed to: "hobbs"
- icomment:
Logged In: YES user_id=72656 this is in 8.4
- login: "hobbs"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "hobbs"