Home > Using FileMaker Pro Advanced > Using FileMaker Pro Advanced tools > Debugging scripts (FileMaker Pro Advanced) > Disabling script steps (FileMaker Pro Advanced)
Disabling script steps (FileMaker Pro Advanced) You can disable and enable script steps to test portions of a script. When you run a script, disabled script steps are skipped. To disable script steps: 1. Choose Scripts menu > Script Workspace. 2. In the scripts pane, double-click the script that contains the script steps to disable. 3. In the script editing pane, select the script steps, then choose Edit menu > Disable. Notes • To edit the color coding of disabled script steps, choose View menu > Syntax Coloring. • To disable script steps, you must have Modifiable privileges for the script. • You cannot modify options for disabled script steps. • If the file is opened in FileMaker Pro, users can see disabled script steps, but cannot enable them. • If you disable an If script step, you must also disable the corresponding End If step. This also applies to Loop, Else, Exit Loop If, and Else If script steps. • You cannot use Set Next Step to move to a disabled script step. • The Script Debugger does not stop executing at breakpoints on disabled script steps. • If you copy, paste, or import scripts with disabled script steps, the steps remain disabled in the new location. • Disabled script steps are preceded by //. • Disabled script steps print in italics. Related topics Debugging scripts (FileMaker Pro Advanced) Creating and editing scripts Using the Data Viewer (FileMaker Pro Advanced)