.
D 2004-10-18T16:21:40
J assignee msofer
J cmimetype text/plain
J comment If\sI\screate\sa\scommand\sin\sa\snamespace,\sset\san\sexecution\ntrace\son\sit,\sand\sthen\simport\sit\sinto\sa\sdifferent\nnamespace,\son\scalling\sthe\scommand,\sno\sexecution\straces\nfire.\n\n#\sSet\sthings\sup\nnamespace\seval\sA\s{\n\s\s\sproc\sfoo\s{a}\s{\sputs\s$a\s}\n\s\s\snamespace\sexport\sfoo\n}\nproc\sreport\s{args}\s{\sputs\sstderr\s$args\s}\ntrace\sadd\sexecution\sA::foo\s\\\n\s\s{enter\sleave\senterstep\sleavestep}\s{\sreport\s}\nnamespace\simport\sA::foo\n\n#\sThis\striggers\sexecution\straces\nA::foo\shello\n#\sThis\sdoesn't\nfoo\shello\n\n--\n\nThis\sis\srather\ssurprising\sgiven\sthe\simported\scommand\sis\njust\sa\slink\sto\sthe\soriginal\scommand.\s\sIn\sfact\sthe\nfollowing\sworks\n\ninterp\salias\s{}\sbar\s{}\sA::foo\n#\sThis\sdoes\strigger\sexecution\straces\nbar\n\n--\n\nTherefore\sit\sappears\sthe\sbug\sis\sthat\sexecution\sof\nnamespace\simported\scommands\sdoesn't\strigger\sexecution\ntraces\son\sthose\scommands.\n
J foundin obsolete:\s8.5a2
J priority 5\sMedium
J resolution None
J status Open
J submitter vincentdarley
J subsystem 45.\sParsing\sand\sEval
J title namespace\simported\scommand\sisn't\straced
J type Bug
K 1049413fffffffffffffffffffffffffffffffff
U vincentdarley
Z 82002fa388eec08b27a0fccf1f6ed807