<i>Read trace on arrays (ex "Tcl_TraceVar")</i> status still Open with 5 other changes
by
.
D 2001-08-10T07:35:19
J icomment Logged\sIn:\sYES\s\nuser_id=148712\n\nDoh\s...\sAt\sleast\sI\sunderstand\snow\swhy\sthese\sscripts\sfail\sto\ndo\swhat\sI\sthought\sthey\swould\sdo:\sTcl_TraceObjCmd\s(in\ntclCmdMZ.c)\sdoes\snot\sset\sthe\sflag\sTCL_TRACE_ARRAY,\sthe\sread\ntrace\sfires\swhen\san\selement\sof\sthe\sarray\sis\sread\sand\snot\son\n[array].\s\n\nUsing\sthe\s(new\sin\s8.4,\sstill\snot\sdocumented/oficial)\s[trace]\ncommand,\sthe\sbug\sis\sexposed\sto\sscripts:\sarray\strace\sstill\ndoes\snot\sfire\son\sfirst\saccess\sif\sthe\svariable\sis\sundefined:\n\n%\strace\sadd\svariable\srotvar\sarray\s{set\srotvar(foo)\s1\s;#}\n%\sarray\snames\srotvar\n%\sarray\snames\srotvar\nfoo\n\n\n
J login msofer
J mimetype text/plain
J title Read\strace\son\sarrays\s(ex\s"Tcl_TraceVar")
J username msofer
K 449094ffffffffffffffffffffffffffffffffff
U msofer
Z 37c5b8d1e3610d4340e753b14d9cfebb