Skip to content
Tcl Source Code Artifact [f9b2bbeed3]
Login

Artifact [f9b2bbeed3]

Artifact f9b2bbeed39757e31206601f88aa7e250d17e432:

Ticket change [f9b2bbeed3] - Ticket [1458266fffffffff|1458266fff] <i>cmd execution traces interfere with step execution traces</i> status still Open with 4 other changes by eriklns on 2006-04-01 18:09:46.
D 2006-04-01T18:09:46
J icomment Logged\sIn:\sYES\s\nuser_id=113903\n\nDon,\n\nI've\sbeen\sthinking\sabout\syour\squestion\s"what\sshould\sthe\nbehaviour\sof\sthe\stest\sscript\sbe\sand\swhy?".\s\nI\swil\sget\sto\sthat\smatter\sshortly,\sbut\sfirst\soff,\sI\swant\sto\nemphasize\sthat\s(in\smy\sview)\san\sanswer\sto\sthat\squestion\sis\nirrelevant\sfor\sthe\sdecision\sas\sto\swhether\sthe\sobserved\nbehaviour\sis\sfaulty.\s\n\nDo\syou\sagree\son\sthat?\n\nAs\sto\s"what\sshould\sthe\sbehaviour\sof\sthe\stest\sscript\sbe\sand\nwhy?:\sOnly\sif\sthe\sfollowing\sstatement\sis\strue,\sI\scan\sgive\nyou\san\sanswer:\n\nstatement\n=========\n"While\sany\sstep\strace\shandler\sis\sexecuting,\sfurther\ninvocations\sof\sTcl\scommands\sshould\snever\strigger\sany\sstep\ntraces\sagain\s(i.e.\sregardless\sthe\scommand\sor\sthe\strace\nhandler)."\n\nSo,\scan\syou\s(or\sanother\smember\sof\sthe\score\steam)\stell\nwhether\sthis\sstatement\sis\strue?\n\nIf\syou\scan't\stell,\sor\sif\sit\sis\snot\strue,\sthen\sI\sfeel\swe're\nheading\sinto\sa\sminefield\sof\scomplicating\scases\sthat\sexist\sin\nthe\sspace\sspanned\sup\sby:\n-\straces\son\sdifferent\scommands\s(regardless\strace\shandler)\n-\sdifferent\strace\shandlers\s(regardless\scommand\sthat\striggers\nthem)\n-\sdifferent\stypes\sof\sstep\strace\s(enterstep/leavestep\n-\sstep\straces\svs.\s(non-step)\scommand\straces\n-\sdid\sI\sforget\ssomething\s...?\n\nPersonally,\sI'm\snot\sprepared\sto\ssay\sanything\sabout\show\ntraces\sshould\sbehave\sin\sdegenerate\scases\sin\sremote\scorners\nof\sthat\sspace,\swithout\sfully\sunderstanding\sthe\sdesign\nspecification\sof\sthe\stracing\smechanism.\sThe\smanual\spage\sof\nthe\s[trace]\scommand\sis\sexplicit\sabout\sthe\sbehaviour\sin\sone\nspecific\scomplicating\scase:\n\nif\sa\strace\shandler\scalls\sthe\scommand\sthat\striggered\sthe\ntrace\sin\sthe\sfirst\splace,\sthat\scommand\swill\snot\strigger\sa\ntrace\sagain.\n\nThe\sissue\sthat\sI\sreported\sappears\sto\sviolate\sprecisely\sthat\none\scase\sabout\swhich\sthe\smanual\spage\sis\sexplicit.\n\nSincerely,\n\nErik\sLeunissen\n==============\n\n
J login eriklns
J mimetype text/plain
J username eriklns
K 1458266fffffffffffffffffffffffffffffffff
U eriklns
Z ff7dd33f5f8fc74335f7df071924a946