Overview
| Artifact ID: | 7919b699252f099b495a781bb3225a8a7cf48cac |
|---|---|
| Ticket: | 1458266fffffffffffffffffffffffffffffffff
cmd execution traces interfere with step execution traces |
| User & Date: | eriklns on 2006-03-30 23:50:17 |
Changes
- icomment:
Logged In: YES user_id=113903 The reproducible script shows that the triggering of a command trace (i.e. "enter" or "leave" types) affects the triggering of step traces (i.e. "enterstep" or "leavestep" types). That fact alone simply doesn't make sense (to me anyway). The expected output for run 2 is: the step trace handler should trigger for exactly the same commands as in run 1, i.e. once at level 1 (triggered by [isTracedInside_2] and twice at level 2 (both triggered by [set]). (The output from the cmd trace handler, triggered by [clock] , is only shown to enable tracking the path of execution, but is irrelevant for the comparison of the step trace behaviour. You may filter the extra verbosity out by making the command trace handler mute, i.e. an empty body.) Also, the man page for [trace] says: "While command is executing during an execution trace, traces on name are temporarily disabled. This allows the command to execute name in its body without invoking any other traces again." I believe that the script violates this rule.
- login: "eriklns"
- mimetype: "text/plain"
- username: "eriklns"