Artifacts Associated With Ticket 655645ffffffffff
Ticket change [9618346f3f] (rid 106261) by nobody on 2002-12-18 09:54:30:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- 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
- foundin initialized to: "obsolete: 8.4.1"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "18. Commands M-Z"
- title initialized to: "trace leavestep fires too early"
- type initialized to: "Bug"
Ticket change [dc368f42b6] (rid 108100) by dkf on 2002-12-18 20:28:28:
- assignee changed to: "nobody"
Ticket change [f9d60bf31c] (rid 91763) by dgp on 2002-12-19 04:29:07:
- assignee changed to: "vincentdarley"
- icomment:
Logged In: YES user_id=80530 Assigning to Vince in case he has any insight.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
Ticket change [53ddc4ceaa] (rid 93831) by vincentdarley on 2003-01-17 18:26:10:
- closedate changed to: "2003-01-17T11:26:10"
- closer changed to: "vincentdarley"
- icomment:
Logged In: YES user_id=32170 Ok, I've fixed this, and will check in the solution asap.
- login: "vincentdarley"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "vincentdarley"