Skip to content
Tcl Source Code History Of Ticket 1065378
Login

History Of Ticket 1065378

Artifacts Associated With Ticket 1065378

  1. Ticket change [7ffbf1a5ca] (rid 97659) by keithv on 2004-11-12 19:00:52:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized 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 initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "keithv"
    9. subsystem initialized to: "18. Commands M-Z"
    10. title initialized to: "cannot delete trace"
    11. type initialized to: "Bug"
  2. Ticket change [bbf72d35fa] (rid 129577) by dgp on 2004-11-13 06:04:14:

    1. assignee changed to: "dgp"
    2. foundin changed to: "obsolete: 8.4.7"
    3. subsystem changed to: "46. Traces"
  3. Ticket change [eecd672118] (rid 108881) by dgp on 2004-11-13 07:33:47:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      confirmed on the core-8.4
      tip of development and on
      the HEAD.
      
      This likely traces back to
      a mistaken implementation
      choice that kept support for
      the old subcommands in place
      with a separate set of code from
      the new subcommands, rather
      than doing it wrapper style
      with the old name ultimately 
      invoking the new implementation.
      
      Thanks for the bug report.
      Until a fix shows up, work around
      it by balancing [trace variable] with
      [trace vdelete] and [trace add] with
      [trace remove].
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  4. Ticket change [8d82b36b03] (rid 127946) by dgp on 2004-11-13 07:34:36:

    1. priority changed to: "9 Immediate"
  5. Ticket change [328ef26c59] (rid 93634) by dgp on 2004-11-16 03:00:51:

    1. status changed to: "Closed"
  6. Ticket change [be3e03908c] (rid 102045) by dgp on 2004-11-16 03:00:52:

    1. closedate changed to: "2004-11-15T20:00:52"
    2. closer changed to: "dgp"
    3. icomment:
      Logged In: YES 
      user_id=80530
      
      
      after looking into this, it seems that
      because the [trace] syntax changed
      at the same time that the acceptable
      values for variable trace operations
      changed (rwua -> read write unset array),
      the consequence is the two forms of
      variable traces are not interchangeable.
      (They differ notably in the ops arguments
      passed to the trace itself).  So, the only
      viable workaround it to just be consistent.
      Either stick with the old form, or convert
      fully to the new form.  Don't try to mix and
      match.
      
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. priority changed to: "5 Medium"
    7. resolution changed to: "Wont Fix"
    8. username: "dgp"
  7. Ticket change [e40dd3f292] (rid 87897) by dgp on 2004-11-16 03:17:48:

    1. status changed to: "Open"
  8. Ticket change [03b7079012] (rid 119872) by dgp on 2004-11-16 03:17:49:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      oops.  spoke too soon.  Got a fix
      coming after all.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. priority changed to: "9 Immediate"
    5. resolution changed to: "Remind"
    6. username: "dgp"
  9. Ticket change [cfd140c318] (rid 113051) by dgp on 2004-11-16 04:10:09:

    1. status changed to: "Closed"
  10. Ticket change [93b02fc7dd] (rid 105859) by dgp on 2004-11-16 04:10:10:

    1. closedate changed to: "2004-11-15T21:10:10"
    2. closer changed to: "dgp"
    3. icomment:
      Logged In: YES 
      user_id=80530
      
      Here's a patch.
      
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. priority changed to: "5 Medium"
    7. resolution changed to: "Wont Fix"
    8. username: "dgp"
  11. Add attachment "1065378.patch" [4a7a6a22cf] (rid 126541) by dgp on 2004-11-16 04:10:12.

  12. Ticket change [b29ceb08dc] (rid 98362) by dgp on 2004-11-16 04:10:13:

    1. icomment:
      
      
      File Added - 108897: 1065378.patch
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  13. Ticket change [217d2face6] (rid 130591) by dgp on 2004-11-16 04:39:06:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      fixed for 8.4.8 and 8.5a2.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. resolution changed to: "Fixed"
    5. username: "dgp"