Stepping through scripts

You can step through an ACL script by executing one line at a time, which allows you to test the execution of a script in a controlled manner.

To step through a script:

  1. Open the ACL script that you want to step through.
  2. Click Step or press F10 repeatedly.

    The script starts when you click Step or press F10. A single line is executed, in sequence, each additional time you click Step or press F10. While the script is running in step mode it is read-only, and most other ACL functionality is disabled, including the command line.

  3. If the step arrow turns red , indicating an error, the script becomes editable and you can fix the error, and then do either of the following:
    • Continue stepping through the script from the point of the error, or from any other line, by placing the cursor in the appropriate line, and right-clicking and selecting Step From Cursor.

    • Restart the script and begin stepping through from the beginning by clicking Step  or pressing F10.

    If a table is open when the error occurs, the ACL display area automatically switches from the Script Editor to displaying the open table in the View tab. Switch back to the Script Editor to fix the error.

  4. If you want to exit the script before it completes, press Esc and click Yes in the confirmation prompt.

    You can also exit the script by closing ACL.

  5. At any point, if you want to run the remainder of the script without stepping through, click Run or press F5.
Related concepts
Testing and debugging scripts
Related tasks
Setting break points in scripts

(C) 2015 ACL Services Ltd. All Rights Reserved.