Skip to content
Tcl Source Code Artifact [5085a70c8a]
Login

Artifact [5085a70c8a]

Artifact 5085a70c8ab71969998bb0f08a67f40cf8c08ff1:

Ticket change [5085a70c8a] - New ticket [582522ffffffffff|582522ffff] <i>aliases do not fire exec traces</i>. by dgp on 2002-07-16 22:07:25.
D 2002-07-16T22:07:25
J assignee msofer
J cmimetype text/plain
J comment %\sproc\sprint\sargs\s{puts\s"printtrace\s$args"}\n%\sproc\sfoo\s{}\s{puts\sorig_foo}\n%\sinterp\salias\s{}\sal_foo\s{}\sfoo\nal_foo\n%\strace\sadd\sexecution\sfoo\senter\s{print\sfoo}\n%\strace\sadd\sexecution\sal_foo\senter\s{print\sal_foo}\n%\sfoo\nprinttrace\sfoo\sfoo\senter\norig_foo\n%\sal_foo\nprinttrace\sal_foo\sal_foo\senter\norig_foo\n%\s\n\n\nThe\s[print\sfoo]\strace\sis\smissing.\s\sIt\sshould\nhave\sbeen\sfired\sby\s[al_foo].\n\nThe\sproblem\sseems\sto\sbe\sthat\sexecution\ntraces\sare\sperformed\sby\nTclEvalObjvInternal()\sand\saliases\sget\nevaluated\sby\sTclObjInvoke()\swhich\nbypasses\sthat\sand\sexecutes\sthe\ncommand\sprocedure\sdirectly.\n\nIn\scombination\swith\sBug\s582506,\sit\nseems\sthe\scorrect\ssolution\smay\sbe\nto\stie\sexecution\straces\sinto\sthe\ncommand\sprocedure\sitself\sinstead\nof\sin\sTclEvalObjvInternal().\n\n
J foundin obsolete:\s8.4b2
J priority 5\sMedium
J resolution None
J status Open
J submitter dgp
J subsystem 45.\sParsing\sand\sEval
J title aliases\sdo\snot\sfire\sexec\straces
J type Bug
K 582522ffffffffffffffffffffffffffffffffff
U dgp
Z 2e505ded1dafb13ac381320823a4360b