Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7ffbf1a5caf1fd03d229edac235b313c720ee0d2
Ticket: 1065378fffffffffffffffffffffffffffffffff
cannot delete trace
User & Date: keithv on 2004-11-12 19:00:52
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    I'm using 8.4.7 and I find that I cannot delete a trace 
    using "trace remove variable" while I can with the soon-
    to-be-obsolete "trace vdelete".
    
    Example script:
    proc Trace {var1 var2 op} {puts "in 
    Trace: '$var1' '$var2' '$op'"}
    trace variable myVar w Trace
    trace info variable myVar                       ;# There it is
    
    trace remove variable myVar w Trace             ;# error 
    must be "write"
    trace remove variable myVar write Trace
    trace info variable myVar                       ;# Still there
    
    trace vdelete myVar w Trace                     ;# works
    trace info variable myVar                       ;# gone
    
    Keith
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "keithv"
  9. subsystem changed to: "18. Commands M-Z"
  10. title changed to: "cannot delete trace"
  11. type changed to: "Bug"