.
D 2002-03-07T21:46:03
J assignee msofer
J cmimetype text/plain
J comment \nWhen\san\serror\soccurs\sin\sa\svariable\strace\swith\nmessage\s$msg,\sthe\soperation\son\sthe\svariable\sreturns\nan\sstack\strace\slike:\n\ncan't\sset\s"foo":\s$msg\n\s\s\s\swhile\sexecuting\nset\sfoo\sbar\n\nUnless\sall\syour\serror\smessages\sare\sunique,\sor\syou\nnever\sput\smultiple\straces\son\sa\svariable\s(and\snever\nchain\straces),\sthat's\snot\senough\sinformation\sto\nfind\sthe\sproblem.\s\sDebugging\svariable\straces\sis\nthus\smuch\sharder\sthan\sit\sshould\sbe.\n\nI\swould\srather\sthe\sstack\strace\swere\slike:\n\n$msg\n<rest\sof\sstack\strace,\sformerly\slost>\n\s\s\s\s(write\strace\son\s"foo")\n\s\s\s\swhile\sexecuting\nset\sfoo\sbar\n\nThis\scan\sbe\sdone\sby\snot\scalling\sVarErrMsg\swhen\nreporting\serrors\sin\svariable\straces.\n\nAny\sreason\snot\sto\smake\sthis\schange?\n\s\s\s\s
J foundin obsolete:\s8.4a5
J priority 5\sMedium
J resolution None
J status Open
J submitter dgp
J subsystem 07.\sVariables
J title ::errorInfo\slost\sin\svariable\straces
J type Bug
K 527164ffffffffffffffffffffffffffffffffff
U dgp
Z 9696a4b17b2153cfa584effb67c489bc