Choose Run|Parameters to open the Run Parameters dialog box.
Use this dialog to pass command-line parameters to your application when you run
it (just as if you were starting the application from the Program Manager File|Run menu),
specify a host executable for testing a DLL (Windows) or shared object (Linux),
run your program on a remote machine, or load any executable into the debugger.
Click OK to save the settings you抳e entered and close the Run Parameters dialog.
Local tab
Use this page to run and debug projects.
Host application
Enter the path to an executable file. (Click Browse to bring up a file-selection dialog.)
If the current project is a DLL (Windows) or a shared object (Linux), use this edit box to specify a host application that calls it.
You can also enter the name of any executable that you want to run in the debugger. Then press Load to load the executable.
The executable will be paused at its entry point. If there is no debug information at the entry point, the CPU window will be opened.
Select Run|Run (F9) to run the executable.
If you want to run the project that you have open, there is no need to enter anything in the Host Application edit box.
Parameters
Enter the command-line arguments you want to pass to your application (or the Host application) when it starts. You can use the drop-down button to choose from a history of previously specified parameters.
Do not enter the application name in this edit box.
Working Directory
Enter the name of the directory to use for the debugging process. By default, this is the same directory as the one containing the executable of your application.
Execute Startup Code on Load
If this option is checked, when you start debugging, startup code is executed. (The startup code is code that is automatically generated when you create a project.
It is executed before reaching the program's main entry point.)
Remote tab
Use this page to run an application on a remote computer.
Remote path
Enter the path to an .EXE file as the remote host will see it.
If you are debugging a DLL, specify an application that calls the DLL.
You can also enter the name of any executable that you want to run in the debugger.
Then press Load to load the executable. The executable will be paused at its entry point. If there is no debug information at the entry point, the CPU window is opened. Select Run|Run (or press F9) to run the executable.
Remote host
Enter the name or IP address of the computer on which you want to run the application.
The remote host must have the debug server running on it.
Parameters
Enter the parameters you want to pass to the application when it starts.
You can use these parameters with the ParamCount and ParamStr() functions.
Do not enter the application name in this edit box.
Debug project on remote machine
Check to enable remote debugging.
Buttons
The Load button loads the application, meaning that the process is loaded and stopped. The OK button accepts the settings, but does not load the application. On the Remote page, the Load button loads a source view of the remote application, but does not load the project (that is, the Project menus do not reflect that project).