|
2007-12-13
| ||
| 18:11 | • Closed ticket [1701540fff]: confusing docs of enterstep tracing plus 8 other... artifact: 6fe288e2d4 user: dkf | |
|
2007-10-31
| ||
| 23:52 | • Ticket [1701540fff]: 1 change artifact: 3e3ed6b9cb user: dgp | |
|
2007-05-14
| ||
| 20:08 | • Ticket [1701540fff]: 2 changes artifact: ba128bfc5f user: dkf | |
|
2007-04-16
| ||
| 13:50 | • New ticket [1701540fff]. artifact: d133d6588a user: msofer | |
confusing docs of enterstep tracing
Closed / Fixed1701540fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 19 years ago
Descriptionplain2007-04-16 13:50:43
I submit that
"every Tcl command which is executed until the procedure 'name' returns"
is a better description than
"every Tcl command which is executed inside the procedure 'name'"
for the following behaviour:
% proc foo script {uplevel #0 $script}
% proc moo script {foo $script}
% trace add execution moo enterstep tr
% proc tr args {puts $args}
% moo {set x 1}
{foo {set x 1}} enterstep
{uplevel #0 {set x 1}} enterstep
{set x 1} enterstep
1
dkf Ticket [1701540fff]: 2 changes
[History diff]2007-05-14 20:08:17
dgp Ticket [1701540fff]: 1 change
[History diff]2007-10-31 23:52:29
dkfplain2007-12-13 18:11:00
Logged In: YES user_id=79902 Originator: NO Clarified (and also 'leavestep' which suffered from the same weakness).
Log in (anonymous is fine) to add a comment.