Debugging
The InstallAware IDE includes integrated debugging capabilities. As long as you have prepared to run your setup inside the IDE, you may make free use of any of the powerful debugging tools described below.
Running in the Debugger
- Set breakpoints as necessary. Breakpoints alert you when a certain line in your script has been reached and pause program execution. Highlight each line you wish to set a breakpoint on, and on the F5. tab, in the group, click , or press
- To execute your setup and stop only at your breakpoints, on the F9. tab, in the group, click , or press
- To execute your setup line by line, stopping at each line, on the F8. tab, in the group, click , or press
- To terminate the execution of your current program, on the CTRL+F2. Be sure to close any currently active dialogs shown by your setup before terminating. tab, in the group, click , or press
Using Variable Watches
Variable watches help you monitor the state of each of the variables used in your setup. You can therefore find out if your expected setup logic is working correctly. Moreover, you can change the values of variables while setup is running.
Displaying the Watches Window
You must first open the
which displays the variable names and their values.- On the CTRL+ALT+W. tab, in the group, click , or press
Adding a Watch
- On the CTRL+f5. Type in the name of the variable you wish to watch. tab, in the group, click , or press
- In the , click the button, and type in the name of the variable you wish to watch.
Editing a Watch
- In the , select the variable name to change under the column. Click the button. Type in the name of the new variable you wish to watch.
Changing a Variable Value
- Single-click on the column entry corresponding to the variable name displayed under the column that you wish to override. Type in the new value.
- In the , select the name of the variable whose value you wish to edit under the under the column. Click the button, and type in the new variable value.
Removing a Watch
- Highlight the watch to remove. Press DELETE.
- In the , select the variable name to delete under the column. Click the button.