DIAdem Help

Watch Area

  • Updated2024-09-12
  • 2 minute(s) read

Watch Area

Use the watch area in DIAdem SCRIPT to observe the execution of scripts and to record the steps DIAdem executes.

  • Use the Logfile tab to create a logfile of the steps in a script. The logfile contains information about the date and time of an error message, the type of error, and the line and column number in which the error occurs. DIAdem also records every DIAdem launch on the Logfile tab. DIAdem saves the logfile as Dem_Errs in the DIAdem folder. Click Open in Editor to load the logfile to the SCRIPT editor. Click Delete Logfile View if you want to delete the contents of the window, but not the contents of the file. In the Logfile Parameters dialog box, you can delete the contents of the logfile and modify the logfile settings.

  • Use the Current Variable Contents tab to get information about the value, type, and context of the VBS script variables that are used, in the debug mode.

    Note  To save computing time DIAdem only refreshes the Current Variable Contents if this tab is visible. After you change tabs, execute one step of the script so that DIAdem displays the Current Variable Contents.
  • Use the Monitoring tab to monitor or edit the value of Program variables and VBS variables in the debug mode. If the value or type of a variable changes while the script is running, DIAdem updates the information in the watch window.

Use the context menus of the tabs to execute the following actions:

Logfile

Delete Logfile View Deletes the logfile view. Select Settings»DIAdem Settings»Logfile»Delete Messages to delete the contents of the logfile.
Open in Editor Opens the logfile in the script editor.

Current Variable Contents

Local Only Displays only information on the local VBS variables while the script runs in debug mode. DIAdem displays a maximum of 100 local variables.

Watch

New Enter a variable to monitor.
Modify Modifies the name of the selected variable.
Modify Value Assigns a new value to a variable in the debug mode.
Delete Deletes the variable from watch window.