Running an Active Script application

You can have a program run until one of the following occurs:

Resuming program execution

To run a program that is suspended, do one of the following:

  • Click the Resume button (

    Resume icon).

  • Select Run > Resume from the menu bar.

  • Press F8.

If no active breakpoint is hit, the program will run to completion.

Running to a line

If you choose the Run to Line action, the program will run to the selected line unless an active breakpoint is hit or the end of the program is reached. You select the line by moving the cursor to it.

To run a program to a specific line number:

  1. Make sure the line to run to is visible in the editor by using the scroll bar or cursor keys to locate the line.

  2. Ensure that the editor cursor is in the line and run the program to the cursor by right-clicking and choosing Run to Line from the pop-up menu.

Relaunching

If you run a program until its end is reached, you can relaunch the program by doing of the following:

  • Click the Debug push button in the toolbar (

    Toolbar debug push button).

  • Select Run > Debug Last Launched from the menu bar.

  • Press F11.

 

Related tasks

Using the Debug view
Debugging an HTML Script Application
Debugging a Script Host Application
Stepping through a program
Halting a running program
Terminating a debug session
Setting debug preferences