Setting and Deleting Breakpoints in a VBS Script
- Updated2024-09-12
- 1 minute(s) read
Working with DIAdem SCRIPT > Script Editor > Setting and Deleting Breakpoints in a VBS Script
Setting and Deleting Breakpoints in a VBS Script
Use breakpoints to stop a script in the debug mode. DIAdem displays a red circle next to breakpoints. DIAdem saves breakpoints with the workspace. To set or to delete breakpoints, complete the following steps:
- Select the DIAdem SCRIPT panel.
- Select File»Open.
- Select a VBS script.
- Click Open.
- In the script editor, click the line you want to set or delete a breakpoint in. If you set a breakpoint in a script line and the end of the line is marked, DIAdem sets the breakpoint in the next line.
- Select Script»Breakpoint On/Off to set or to delete a breakpoint. You can also use <F9> or the Breakpoint On/Off button to set or to delete a breakpoint.
- Select Script»Debug VBS Script to execute the script in Debug mode. DIAdem stops the script at the first breakpoint.
- Click Debug/Continue Script to continue the script in debug mode, until DIAdem has finished the entire script.