Skip to content
Tcl Source Code Artifact [07bcb007cd]
Login

Artifact [07bcb007cd]

Artifact 07bcb007cd2ed9f3a7fbcb8a536e57b0144b4d3e:

Ticket change [07bcb007cd] - Ticket [2995655fffffffff|2995655fff] <i>Report inner contexts in [info errorstack]</i> status still Open with 4 other changes by ferrieux on 2010-09-30 04:49:29.
D 2010-09-30T04:49:29
J icomment OK,\syou\smade\sit\sall\sclear\sin\sone\ssentence:\swith\ssaner\sNRE,\sTEBC\sis\sno\slonger\sa\slong-lived\swhile(1)...switch(*pc),\sbut\srather\sa\sTEBCresume\scallback\sthat\sgets\sre-pushed\sforever\sdoing\sswitch(*pc).\sNeat\s!\nAs\sa\sresult,\splease\sfind\sattached\sas\sinner6.patch\sthe\scorrected\sinner\scontext\spatch.\sOutline:\n\s\s-\spcBeg\sis\snow\sa\sfield\sin\sBP\sas\sper\syour\ssuggestion\n\s\s-\sit\sis\sdirectly\sinitialised\sto\spc\sat\sbeginning\sof\sTEBCresume\s(and\sto\scodeStart\sat\sbeginning\sof\sTnrEBC)\n\s\s-\sit\sis\sdirectly\sused\sin\sthe\sTclLogCommandInfo\scall\n\s\s-\sno\smore\sextra\slocal\s:)\nTest\ssuite\sokay.\n\nNow\sre\sthe\scoro\swarning,\sit\sseems\sto\scross\sthe\scoro\sbottom\scorrectly,\sup\sinto\sthe\sresume's\scaller\sstack,\sjust\sas\sbefore\s(after\syou\sfixed\sthe\swub\scrash).\sMoreover,\swe\ssee\sthat\s[info\slevel\s$n]\sdoesn't\scross\sthe\scoro\sbottom:\n\n%\sproc\sc\sx\s{yield;stack;error\sBEUH:$x}\n%\scoroutine\sC\sc\sbla\n%\sproc\sstack\s{}\s{catch\s{for\s{set\sn\s0}\s{1}\s{incr\sn\s-1}\s{puts\s"LEVEL\s$n:\s[info\slevel\s$n]"}}}\n%\sproc\sf\sx\s{g\s$x}\n%\sproc\sg\sx\sC\n%\sf\s2\nLEVEL\s0:\sstack\nLEVEL\s-1:\sc\sbla\nBEUH:bla\n%\sinfo\serrorstack\nINNER\s{returnStk\sBEUH:bla}\sCALL\s{c\sbla}\sCALL\s{g\s2}\sCALL\s{f\s2}\n\n
J login ferrieux
J mimetype text/plain
J username ferrieux
K 2995655fffffffffffffffffffffffffffffffff
U ferrieux
Z e93896e724515e971e37334f08f03887