Run Menu

This menu provides commands that allow you to compile, run, and debug your application.

Compile filename

This command allows you to compile the active file.

Run filename

This command allows you to run the active file. When this command is invoked, the IDL Workbench compiles, saves (if necessary), and executes the file.

Run Project project_name

This command allows you to execute the active project's Run command. The Run command is a single routine that contains all of the IDL commands and routine calls necessary to compile all the files in the project. Other routines called by the Run command are also located, compiled, and executed.

If the project has not been built, or code has changed since the last build, the IDL Workbench will build the project and save the new project state before execution.

Toggle Breakpoint

This command inserts or removes a code breakpoint. You can also insert or remove a breakpoint by double-clicking in the leftmost editor margin.

Remove All Breakpoints

This command removes the breakpoints in all of the files in the Workbench.

Resume

This command continues running the program after execution has been suspended.

Suspend

This command temporarily halts execution of a running program. It can be restarted from the point at which it was halted.

Terminate

This command stops execution of a running program. The program cannot be restarted from the point at which it was terminated; instead, it must be started again from the beginning.

Step Into

While debugging a program, this command allows you to jump inside of a routine, and continue stepping through the internal routine code.

Step Over

While debugging a program, this command allows you to jump over a routine, and continue stepping through the subsequent code.

Step Return

While debugging a program, this command finishes executing the current routine, jumps back to the calling routine, and promptly suspends execution.

Skip

While debugging a program, this command allows you to skip over a single line of code.

Run to Line

This command allows you to select a line in a suspended program and resume execution until the selected line is reached. Execution will suspend before the selected line only if another breakpoint is reached, or execution completes normally.