From RAD Studio
Jump to: navigation, search

Go Up to Project Options Dialog Box

Project > Options > Debugger
Run > Parameters > Debugger

Passes command-line parameters to your application, specifies a host executable for testing a DLL, or loads an executable into the debugger.

Options Description

Target, Apply, Save

See Target Options.

Common items

See Common Items on Project Options Pages.

Item Description

Host Application

Specifies the path to an executable file. (Click Browse to bring up a file-selection dialog.) If the current project is a DLL or package, 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. If you want to run the project that you have open, there is no need to enter anything in Host Application.


Specifies the command-line parameters to pass to your application. 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.

Working Directory

Specifies name of the directory to use for the debugging process. By default, this is the directory containing the executable of your application.

Source Path

Specifies the directories containing the source files for this project. By default, the debugger searches paths defined by the compiler. If the directory structure has changed since the last compile or if the debugger cannot find a source file, a path can be entered here to include the file in the debugging session. Click the ellipsis button to display a dialog box that allows you to edit an ordered list of directory source paths.

Additional directories are searched in the following order:

  1. The project-specific Source path (this option).
  2. The global Browsing path, as specified for Delphi or for C++:
    • For Delphi, the Tools > Options > Language > Delphi Options > Library page.
    • For C++, the Tools > Options > Language > C++ Options > Paths and Directories page.
  3. The global Debug Source path, as specified on the Tools > Options > Debugger Options > Embarcadero Debuggers page.

Use Launcher Application

The check box is displayed only when you select either the macOS or 64-bit Linux platform in the Target field. It opens a separate terminal window for running and debugging on the macOS and 64-bit Linux target platforms (to avoid using the terminal window of the running instance of the Platform Assistant).

By default, no launcher application is used, but the path to Xterm appears in the command-line field. You can change the path or enter a different command line to start a terminal window of your choice for the selected target platform.

Select the check box to launch Xterm or your chosen terminal application.

Note: To use gnome-terminal instead of Xterm for Linux, replace the path in the command-line field with the following path: /usr/bin/gnome-terminal -x "%debuggee%"


See Also