The Script Debugger window can be opened using the Window/Script Debugger menu command, or by typing the #DEBUG command on the command line.
The Script Debugger can display messages when various events occur within TeSSH. For example, the debugger can display a message when one of your triggers fires, along with the text that caused it to fire.
The debugger can be very useful for tracking down problems with your scripts. Here are the messages that can be displayed by the debugger:
The debugger can be enabled or disabled with the checkbox in the main toolbar at the top of the window. Messages are only displayed in the debugger when it is enabled. Note that your scripts will run slower when the debugger is enabled (it takes time to display the debugger messages).
The Save button in the toobar can be used to save the text of the debugger to a file. You can also copy/paste information from the debugger window as needed. The Clear button will clear the window, and the Add Separator button will add a --- horizontal rule to the window. Horizontal rules are also added automatically whenever a new command is entered into the TeSSH command line and executed.
A Class Tree can be viewed to the left of the main debugger window. This can be used to enable and disable which windows, modules, and classes are debugged. This class tree is not updated automatically as classes are added or removed, so click the Refresh Class Tree button at the bottom of the window to reload your list of classes if necessary.
Add comment