Next: , Previous: Building Your Project, Up: Working With Projects


6.6.5 Running Your Project

Only Console Applications, Desktop GUI Applications and MicroServer applications can be Run from the IDE.

To run a project, select Project -> Run Project from the Main Menu, or press the green Go button on the Toolbar. If there are any unsaved files you will be prompted to save them first. If necessary, the project will be built before it is run.

Note that running your project in this way (compiled) does not allow you to use the features of the debugger.

TIP:

To run your project in the Integrated Debugger so that you can step through a program or stop at breakpoints, use the "Run In Debugger" icon in the toolbar, or select Debug -> Run from the main menu.

Interpreting Your Project

To run your project interpreted instead of compiled, select “Interpret Main File” from the main menu, or run it in the Integrated Debugger.

Program Output

Output from projects that are executed in the IDE (e.g., from print, echo, var_dump, etc) will show in the Program Output window.

Program Arguments

resources/arg-1.png

You may define Program Arguments that will be available to your program when it is run through the $argv, $_GET and $_POST variables. Select “Program Arguments” from the Project menu.