Overview
| Artifact ID: | b90654fefa9972ba475e699fd57f6688fce910cf |
|---|---|
| Ticket: | 218004ffffffffffffffffffffffffffffffffff
add -x command line flag to trace each Tcl command |
| User & Date: | nobody on 2000-10-26 00:51:53 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 724 RFE Version: 8.0.3 SubmitDate: '1998-10-13' LastModified: '1999-11-02' Severity: MED Status: Closed Submitter: admin ChangedBy: hobbs OS: All OSVersion: NA Machine: NA FixedDate: '2000-10-25' FixedInVersion: NA ClosedDate: '1999-11-02' Both ksh, bash and I believe csh or sh support the set -x command. It prints each line as they are executed. What I would like to see is a similar flag in 'tclsh' that will print line by line as they are executed -- substituting arguments as they are determined. For instance: for file.tcl: set a 1 if {"$a" == "1"} { puts "hello" } else { puts "goodbye" } tclsh -x file.tcl +set a 1 +if {"1" == "1"} { +puts "hello" hello We will leave this behavior to the various debuggers that are already available (both commercial and free) that allow you to step through code command by command. -- 11/02/1999 hobbs - foundin changed to: "obsolete: 8.0.3"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to: "add -x command line flag to trace each Tcl command"
- type changed to: "RFE"