Overview
| Artifact ID: | 9618346f3fa8e4ea51fd61be135641ffa13f6a64 |
|---|---|
| Ticket: | 655645ffffffffffffffffffffffffffffffffff
trace leavestep fires too early |
| User & Date: | nobody on 2002-12-18 09:54:30 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed 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 changed to: "obsolete: 8.4.1"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "18. Commands M-Z"
- title changed to: "trace leavestep fires too early"
- type changed to: "Bug"