Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0b6d42fbc7ce8222f91d533a46a1b5ec66b6545b
Ticket: 219200ffffffffffffffffffffffffffffffffff
objectified Tcl_CreateTrace w/ extension
User & Date: nobody on 2000-10-26 05:03:29
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed 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
    
  4. foundin changed to: "obsolete: 8.2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "81. Bundled Packages"
  10. title changed to: "objectified Tcl_CreateTrace w/ extension"
  11. type changed to: "RFE"