If you need to debug a script, there are two ways to do it. If you are using TERM Script Language, add the following two commands, to the beginning of your script:
SET VIEW ON
SET ECHO ON
This will cause all script output and error messages to display to the TERM window.
If you are using CScript from TinyTERM version 4, you will need the Debug Monitor. Running the executable called DBMon32.exe located in the C:\Program Files\Century\TinyTERM\dbmon32 directory. After launching the DBMon32 program, you will need to launch TinyTERM with the -debug switch. For example, you could change your shortcut target to:
“C:\Program Files\Century\TinyTERM\tt.exe” -debug -PL3 default
You can also type this in at a command prompt. The quotation marks are required. After doing this, TinyTERM will display all debug information in the Debug Monitor, including script errors.
This entry was posted
on Thursday, April 12th, 2007 at 12:37 pm and is filed under CScript, Scripting, TSL.
You can follow any responses to this entry through the RSS 2.0 feed.
Both comments and pings are currently closed.