<i>[info frame] reports wrong line</i> status still Open with 4 other changes
by
.
D 2007-06-28T06:07:01
J icomment Logged\sIn:\sYES\s\nuser_id=44475\nOriginator:\sNO\n\nThe\ssame\sthing\shappens\swith\scontinued\slines.\s\sTry\sthis\sin\stclsh85:\n\nproc\sprintStack\s{}\s{\n\s\s\s\sfor\s{set\si\s[info\sframe]}\s{$i\s>=\s1}\s{incr\si\s-1}\s{\n\s\s\s\s\s\s\s\sset\sd\s[info\sframe\s$i]\n\s\s\s\s\s\s\s\sswitch\s[dict\sget\s$d\stype]\s{\n\s\s\s\s\s\s\s\s\s\s\s\ssource\s{lappend\sstack\s"[dict\sget\s$d\sfile]\s[dict\sget\s$d\sline]"}\n\s\s\s\s\s\s\s\s\s\s\s\sproc\s{lappend\sstack\s"[dict\sget\s$d\sproc]\s[dict\sget\s$d\sline]"}\n\s\s\s\s\s\s\s\s}\n\s\s\s\s}\n\s\s\s\sputs\sstderr\s[join\s$stack\s\\n]\n}\n\nproc\stest\s{}\s{\n\s\s\s\s\s\s\s\sset\sx\s\s\\\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s1\n\n\s\s\s\s\s\s\s\sprintStack\n}\n\ntest\n\n%\stclsh85\stest1.tcl\ntest1.tcl\s3\ntest1.tcl\s20\ntest1.tcl\s24\n\nThe\sline\swhere\sprintStack\sis\sinvoked\sis\s21,\snot\s20.\s\sRemove\sthe\ncontinued\sline\sat\sthe\sbeginning\sof\stest{}\sand\sthe\soutput\sis\scorrect.\n\nI'm\salso\sseeing\sa\slot\sof\s"proc"\sframes\sthat\shave\sincorrect\npositive\sline\snumbers\s(probably\sdue\sto\sthe\ssame\sline\scounting\sproblem)\nor\sline\snumbers\sthat\sare\s-1.\s\sI\shaven't\sbeen\sable\sto\scome\sup\swith\sa\nshort\sexample\sthat\sdemonstrates\sthis,\sbut\sit\sshows\sup\srepeatably\sin\na\sdebugger\sI'm\strying\sto\simplement\s(using\strace\sadd\sexec\s..\senterstep).\n
J login mercurio
J mimetype text/plain
J username mercurio
K 1695203fffffffffffffffffffffffffffffffff
U mercurio
Z 5680a90c62609f24c4c86d2716be853a