Technical article 104921

How can I debug SCO Visual Tcl scripts?

OpenServer 6.0.0OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5OpenServer 5.0.6OpenServer 5.0.7UnixWare 7.0.0UnixWare 7.0.1UnixWare 7.1.0UnixWare 7.1.1UnixWare 7.1.2UnixWare 7.1.3UnixWare 7.1.4Open UNIX 8

Written · Last revised

Problem

How can I debug SCO Visual Tcl scripts?

Solution

Insert this command line into your Tcl script to enable tracing:

cmdtrace on [ open "/tmp/script.log" a+ ]
Whereas, inserting:
cmdtrace off
disables it.

See also

TclX(TCL)

From the Xinuos technical article database, record 104921. Reproduced with permission. The original is at www.sco.com/ta/104921, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.