Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 51dfafceac0a1e868ca8f933cc2f7dd9560315e5
Ticket: 807243ffffffffffffffffffffffffffffffffff
trace info empty op
User & Date: markgsaye on 2003-09-16 16:31:05
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Consider:
    
    proc test {args} {}
    
    proc trace:command {oldName newName op} {
      puts "proc trace:command \[$oldName\] \[$newName\]
    \[$op\]"
    }
    
    proc trace:execution {string op} {
       puts "proc trace:execution \[$string\] \[$op\]"
    }
    
    trace add command  ::test delete [list trace:command]
    trace add execution ::test enter [list trace:execution]
    
    
    Now doing:
    % trace info command ::test
    {delete trace:command} {{} trace:execution}
    
    % trace info execution ::test
    {{} trace:command} {enter trace:execution}
    
    Note how the execution trace adds to the 'trace info
    command' with an empty 'op', and vice versa.
    
  4. foundin changed to: "obsolete: 8.4.4"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "markgsaye"
  9. subsystem changed to: "46. Traces"
  10. title changed to: "trace info empty op"
  11. type changed to: "Bug"