From: nobody <no...@so...> - 2001-03-01 06:44:30
|
Bugs #405084, was updated on 2001-02-28 22:46 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110894&aid=405084&group_id=10894 Category: Commands M-Z Group: 8.4a2 Status: Open Priority: 5 Submitted By: Georgios Petasis Assigned to: Nobody/Anonymous Summary: Incompatibility in "trace" parameters Initial Comment: Incompatibility between "trace add variable" and "trace variable". According to the "trace" manual, "trace variable" is equivelant to "trace add variable". But: 1) They don't give the same error messages. % trace variable wrong # args: should be "trace variable name ops command" % trace add variable wrong # args: should be "trace add variable name opList command" 2) According to the manual, the following should work (and works): proc tracecall {name1 name2 op} { puts "name1=\$name1\, name2=\$name2\, op=\$op\" } trace add variable x write tracecall set x 1 > name1="x", name2="", op="write" But trying: trace variable y write tracecall > bad operations "write": should be one or more of rwua So, "trace variable" accepts only abbreviations? 3) Finally, the manual info about "trace add variable" is incomplete, since it does not describe the operation "read" which exists and is referenced in the descussion about the parameters passed to the "command" parameter of the "trace add variable". ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110894&aid=405084&group_id=10894 |