Run

The Run menu allows you to get maximum efficiency and  accuracy from your files and projects through analyzing and testing your code using the Debugging and Run functionality.

 

Running a file or application will display the output in the Browser and Debug Output views, as well as displaying any error or warning messages in the console view.

 

Debugging a file or application allows you to view the output  and any error notices, as well as information about various elements, at various stages while the file is run.

For more on Debugging, see Using the Debugger.

 

The options available from the Refactor menu are:

Name

Shortcut

Description

Toggle Breakpoint

Ctrl+Shift+B

Adds / removes breakpoints from your script.

Breakpoints are used to stop the debugging process at certain key places throughout your code.

Toggle Line Breakpoint

 

Adds / removes line breakpoints from your script.

Toggle Method Breakpoint

 

Adds / removes method breakpoints from your script.

Method breakpoints are used to add conditions to breakpoints.

Toggle Watchpoint

 

Adds / removes a field watchpoint for the current selected variable in the Expressions View.

Skip All Breakpoints

 

Allows you to temporarily remove all breakpoints from your script so that the debugging process will not stop at them.

Select this function again to return all breakpoints to the script.

Remove All Breakpoints

 

Removes all breakpoints from the current active file.

Run

Ctrl+F11

 

Debug

F11

 

Run History

 

Displays and allows access to a list of previously launched Run configurations.

Run As

 

Lets you choose from running: on the server, as a PHP Script, or as a PHP WebPage.

Open Run Dialog...

 

Launches the Run dialog to create / edit Run configurations.

Debug History

 

 

Displays a list of Debug configurations so that they can be used for debugging.

Debug As

 

 

Lets you choose from debugging: on the server, as a PHP Script, or as a PHP WebPage.

For more on these options, see Debugging.

Open Debug Dialog...

 

 

Launches the Debug dialog to create /edit debugging configurations.

Launch the Web Services Explorer

 

Launches the Web Services Explorer

External Tools

 

Run As

If applicable, allows you to run the file using External tools.

Open External Tools Dialog

Opens the configuration dialog for running a file using external tools.

Organize Favorites

Opens a dialog allowing you to organize your external tools.

See the Workbench User Guide for more on External Tools.

 

 

Related Links

Related Links:

Menus

File

Edit

Source

Refactor

Navigate

Search

Project

Window

Help