Skip to content
Tcl Source Code History Of Ticket 655645ffffffffff
Login

History Of Ticket 655645ffffffffff

Artifacts Associated With Ticket 655645ffffffffff

  1. Ticket change [9618346f3f] (rid 106261) by nobody on 2002-12-18 09:54:30:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      [email protected]
      
      Command execution traces for "leavestep" fire even 
      before the respective "enterstep", with null string result, 
      and then again (correctly) after the command has been 
      executed. This happens for all but the first command in 
      a proc.
      
      Demo script:
      
      proc enterStep {cmd op} {puts "enter $cmd/$op"}
      proc leaveStep {cmd code result op} {puts "leave $cmd/
      $code/$result/$op"}
      
      proc foo x {
          puts x=$x
          puts [info patchlevel]
          incr x
      }
      trace add execution foo enterstep enterStep
      trace add execution foo leavestep leaveStep
      foo 42
      
      produces (8.4.1, W2k, Solaris):
      
      enter puts x=42/enterstep
      x=42
      leave puts x=42/0//leavestep
      leave info patchlevel/0//leavestep
      enter info patchlevel/enterstep
      leave info patchlevel/0/8.4.1/leavestep
      leave puts 8.4.1/0//leavestep
      enter puts 8.4.1/enterstep
      8.4.1
      leave puts 8.4.1/0//leavestep
      leave incr x/0//leavestep
      enter incr x/enterstep
      leave incr x/0/43/leavestep
      
      
    4. foundin initialized to: "obsolete: 8.4.1"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "18. Commands M-Z"
    10. title initialized to: "trace leavestep fires too early"
    11. type initialized to: "Bug"
  2. Ticket change [dc368f42b6] (rid 108100) by dkf on 2002-12-18 20:28:28:

    1. assignee changed to: "nobody"
  3. Ticket change [f9d60bf31c] (rid 91763) by dgp on 2002-12-19 04:29:07:

    1. assignee changed to: "vincentdarley"
    2. icomment:
      Logged In: YES 
      user_id=80530
      
      Assigning to Vince in case he has any insight.
      
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. username: "dgp"
  4. Ticket change [53ddc4ceaa] (rid 93831) by vincentdarley on 2003-01-17 18:26:10:

    1. closedate changed to: "2003-01-17T11:26:10"
    2. closer changed to: "vincentdarley"
    3. icomment:
      Logged In: YES 
      user_id=32170
      
      Ok, I've fixed this, and will check in the solution asap.
      
      
      
    4. login: "vincentdarley"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "vincentdarley"