IDE Window: Run parameters

From Free Pascal wiki
Jump to: navigation, search

Deutsch (de) English (en) français (fr) 日本語 (ja)

Local

IDE Window - Run Parameters.png

Host Application

If your project executable and the executable to debug is different, you can specify here the other executable.

Default: leave empty

Command line parameters

Add here the command line parameters, with which your project should be started.

Default: leave empty

Note: Not used when using Lauching Application.

Launching application

If you want to start your project not directly, but via a script on in a terminal or a special profiler or a special debugger specify here the command line and enable the checkbox. Witout this you can view output in internal console

Working directory

Normally the working directory of a debugged project is the executable directory. That means all relative file names are expanded by the working directory. You can override this directory here.

Display

To show the application under X (gnome, kde, xfce) on another desktop, specify the Display command line variable. For example to show the application on the second desktop use :1. To show on another computer use 192.168.1.17:0 or hydra:1.

Environment

IDE Window - Run Parameters - Environment.png

Normally a debugged program starts with the same environment variables as the IDE itself.

System variables

Here you can see, what system variables are currently defined. You cannot change/override them.

User overrides

Add environment variable overrides for the debugged program. Do not confuse them with command line parameters or config variables. These variables can be retrieved by the program via such functions as GetEnvironmentVariable, GetEnvironmentVariableCount, Application.GetEnvironmentList.