Working With Online Devices
139
etLinx Studio (v2.4 or higher)
Changing The Value Of a Watched Variable
Once you have entered Debug mode, you can change the name and/or value of any watched
variable, via the Value column in the Watch window:
1. Select a watched variable in the Watch window.
2. To change the variable's value, double-click on the desired variable's value to change the value
to an edit field, which you can modify as desired.
Step Mode Enable/Disable Step mode causes the Interpreter to break after each
execution of the mainline. Watch variables are always updated after each
pass through mainline. To continue program execution while in Step
mode, you must invoke the "Step" command again.
Single Step Execute one line of a source code file at a time for a NetLinx master con-
troller or execute one pass through the mainline code for an Axcess con-
troller.
The following options are only needed for debugging code on a NetLinx master:
Run To continue execution after a Single Step operation or from a toggled
break point.
Run To Cursor Execute the program and break on the line of code where the cursor is
residing on the screen.
Break Stop execution of the program and highlight the line of code on the
screen.
Edit Breakpoints A dialog box appears listing all the break points within the code.
Toggle Break Point Toggle a break point on the screen where the cursor is residing. A red
diamond appears next to the line of code to signify a break point.
Clear Break Points Clears all the break points within the source code file.