Skip to content
Tcl Source Code Artifact [2f04e47c07]
Login

Artifact [2f04e47c07]

Artifact 2f04e47c0766502c52c02cae692cc9422cedcf1a:

Ticket change [2f04e47c07] - Ticket [652765ffffffffff|652765ffff] <i>errors disappear in trace callbacks</i> status still Open with 4 other changes by duquette on 2004-08-22 01:14:19.
D 2004-08-22T01:14:19
J icomment Logged\sIn:\sYES\s\nuser_id=372859\n\nHere's\san\sexample\sof\swhere\sthe\scurrent\scode\scauses\sa\sproblem:\sin\sobject\s\ncode\s(e.g.,\sTcllib's\sstruct::stack)\sthe\sobject\sname\sis\soften\sused\sas\san\s\nindex\sinto\sarray\sin\swhich\sthe\sspecific\sobject's\sdata\sis\sstored.\s\sIf\sthe\sobject\s\nis\srenamed,\sthis\sbreaks.\s\sAn\sobvious\suse\sof\sa\srename\strace\sis\sto\sthrow\s\nan\serror\sif\sthe\sobject\sis\srenamed.\s\sAt\spresent,\syou\scan't\sdo\sthat\sand\s\nmake\sit\sstick\swithout\sinstalling\sa\smodified\sversion\sof\sthe\s"rename"\s\ncommand.\n\nLook\sat\sit\sanother\sway--if\serrors\sin\srename\sand\sdelete\scallbacks\s\s\npropagated\snormally,\sthe\sprogrammer\scould\sachieve\sthe\scurrent\sbehavior\s\nusing\s"catch".\s\sWith\sthe\scode\sas\sit\sis,\sthe\sprogrammer\shas\sno\schoice.\n\nThis\sis\snot\sacademic,\seither;\sSnit\srelies\son\sthe\srename/destroy\scallbacks.\n
J login duquette
J mimetype text/plain
J username duquette
K 652765ffffffffffffffffffffffffffffffffff
U duquette
Z 644976f415ecd5b5875fe2dd50abf240