Artifact
b90654fefa9972ba475e699fd57f6688fce910cf:
Ticket change
[b90654fefa]
- New ticket
[218004ffffffffff|218004ffff] <i>add -x command line flag to trace each Tcl command</i>.
by
nobody on
2000-10-26 00:51:53.
D 2000-10-26T00:51:53
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s724\sRFE\nVersion:\s8.0.3\nSubmitDate:\s'1998-10-13'\nLastModified:\s'1999-11-02'\nSeverity:\sMED\nStatus:\sClosed\nSubmitter:\sadmin\nChangedBy:\shobbs\nOS:\sAll\nOSVersion:\sNA\nMachine:\sNA\nFixedDate:\s'2000-10-25'\nFixedInVersion:\sNA\nClosedDate:\s'1999-11-02'\n\n\nBoth\sksh,\sbash\sand\sI\sbelieve\scsh\sor\ssh\ssupport\sthe\sset\s-x\scommand.\sIt\n\nprints\seach\sline\sas\sthey\sare\sexecuted.\n\n\n\nWhat\sI\swould\slike\sto\ssee\sis\sa\ssimilar\sflag\sin\s'tclsh'\sthat\swill\sprint\n\nline\sby\sline\sas\sthey\sare\sexecuted\s--\ssubstituting\sarguments\sas\sthey\n\nare\sdetermined.\n\n\n\nFor\sinstance:\n\n\n\nfor\sfile.tcl:\n\n\n\nset\sa\s1\n\nif\s{"$a"\s==\s"1"}\s{\n\nputs\s"hello"\n\n}\selse\s{\n\nputs\s"goodbye"\n\n}\n\n\n\ntclsh\s-x\sfile.tcl\n\n\n\n+set\sa\s1\n\n+if\s{"1"\s==\s"1"}\s{\n\n+puts\s"hello"\n\nhello\n\n\n\nWe\swill\sleave\sthis\sbehavior\sto\sthe\svarious\sdebuggers\sthat\sare\nalready\savailable\s(both\scommercial\sand\sfree)\sthat\sallow\syou\sto\nstep\sthrough\scode\scommand\sby\scommand.\s\n--\s11/02/1999\shobbs
J foundin obsolete:\s8.0.3
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title add\s-x\scommand\sline\sflag\sto\strace\seach\sTcl\scommand
J type RFE
K 218004ffffffffffffffffffffffffffffffffff
U nobody
Z d654235bf35260359cf88378fe7b5bb0