Messages that result from individual commands appear in the log file as well as in the GUI console if it is active. These messages are generally numbered to identify specific issues and are prefixed in the log file with “INFO”, “WARNING”, “CRITICAL_Warning”, “ERROR” followed by a subsystem identifier and a unique number.
The following example shows an INFO message that appears after reading the timing
library.
INFO: [HD-LIB 1] Done reading timing library
These
messages make it easier to search for specific issues in the log file to help to understand the
context of operations during command execution.Generally, when an error occurs in a Tcl command sourced from a Tcl script, further execution
of subsequent commands is halted. This is to prevent unrecoverable error conditions. There are
Tcl built-ins that allow users to intercept these error conditions, and to choose to continue.
Consult any Tcl reference for the catch
command for a description of how to
handle errors using general Tcl mechanisms.