Skip to content
Tcl Source Code Artifact [48330313ae]
Login

Artifact [48330313ae]

Artifact 48330313ae30f8ec108b1b45f20b5f9e8aa9987a:

Ticket change [48330313ae] - New ticket [760947ffffffffff|760947ffff] <i>trace on command leave changes errorInfo/errorCode</i>. by yahalom on 2003-06-26 04:02:58.
D 2003-06-26T04:02:58
J assignee dkf
J cmimetype text/plain
J comment Tcl\sVersion\s8.4.3\nOS\sPlatform\sand\sVersion:\swindows\s2000,linux\sredhat\s7.3\n\nwhen\sputting\sa\strace\son\scommand\sexecution\sleave\sthe\s\nerrorInfo\sand\serrorCode\sare\snot\sbeing\sset\sproperly\swhen\s\nan\serror\shappens\sin\sthe\scommand\sbeing\scalled\n\nproc\straceLog\s{cmd\sinfo\s{result\s""}\s{op\s""}}\s{\nputs\s"-----\strace\s-----"\nputs\s"command:\s$cmd"\nputs\s"info:\s$info"\nputs\s"result:\s$result"\nputs\s"op:\s$op"\nputs\s"-----\sleave\strace\s-----"\n}\nproc\stest\s{}\s{\nerror\s"testMsg"\s"testInfo"\s"testCode"\n}\nfor\s{set\si\s0}\s{$i<2}\s{incr\si}\s{\ncatch\s{test}\smsg\nputs\s"message:\s$msg"\nputs\s"errorInfo:\s$errorInfo"\nputs\s"errorCode:\s$errorCode"\nunset\smsg\nunset\serrorCode\nunset\serrorInfo\ntrace\sadd\sexecution\stest\sleave\s{traceLog}\n}\n\nresult:\n\nmessage:\stestMsg\nerrorInfo:\stestInfo\n\s\s\s\s(procedure\s"test"\n\s\s\s\sinvoked\sfrom\swith\n"test"\nerrorCode:\stestCode\n-----\strace\s-----\ncommand:\stest\ninfo:\s1\nresult:\stestMsg\nop:\sleave\n-----\sleave\strace\s---\nmessage:\stestMsg\nerrorInfo:\stestMsg\n\s\s\s\swhile\sexecuting\n"test"\nerrorCode:\sNONE
J foundin obsolete:\s8.4.3
J priority 5\sMedium
J resolution None
J status Open
J submitter yahalom
J subsystem 18.\sCommands\sM-Z
J title trace\son\scommand\sleave\schanges\serrorInfo/errorCode
J type Bug
K 760947ffffffffffffffffffffffffffffffffff
U yahalom
Z 972cac6c7c49f5eaecf89fef4dd1fb63