DIAdem Help

Displaying Information about VBS Variables in the Debug Mode

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

Displaying Information about VBS Variables in the Debug Mode

In the debug mode, use the Current Variables Contents tab to obtain information about the value, type, and context of the variables used in a VBS script. To obtain information about the variables, complete the following steps:

  1. Select the DIAdem SCRIPT panel.
  2. Select File»Open.
  3. Select a VBS script.
  4. Click Open.
  5. Set breakpoints in the lines where you want the debugger to stop the script. Click the line you want and select Script»Breakpoint On/Off to set a breakpoint.
  6. Open the Current Variable Contents tab. DIAdem displays information about the variables used when a breakpoint stops the script in the debug mode. The Current Variable Contents contains only information about VBS variables. Variables that DIAdem does not assign values to during the script are marked with three question marks.
  7. Select Script»Debug VBS Script to run the script in the debug mode.