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 , Profiling and Run functions.
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 information on Debugging, see Debugging Files and Applications.
Profiling a file or application allows you to detect bottlenecks in scripts by locating problematic sections of code.
For more information on Profiling, see Profiling Files and Applications .
The options available from the Run 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 |
|
Temporarily removes all breakpoints from your script so that the debugging process will not stop at them. Select this option again to return all breakpoints to the script. |
Remove All Breakpoints |
|
Removes all breakpoints from the current active file. |
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. |
Run Configurations... |
|
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 ". |
Debug Configurations... |
|
Launches the Debug dialog to create /edit debugging configurations. |
Run |
Ctrl+F11 |
Launches the last Run configuration run. |
Debug |
F11 |
Launches the last Debug session run. |
Profile |
|
Launches the last Profile session run. |
Profile History |
|
Displays a list of Profile configurations so that they can be used for profiling. |
Profile As |
|
Lets you choose from profiling: on the server, as a PHP Script, or as a PHP WebPage. For more on these options, see " Profiling ". |
Profile Configurations... |
|
Launches the Profile dialog to create / edit Profiling configurations. |
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 External Tools External Tools topic in the Workbench User Guide for more information. |
Debug URL |
|
Launches a Debug session for a specified URL. |
Profile URL |
|
Launches a Profile session for a specified URL. |
|
|
|
Related Links: |
|
|