From Appmethod Topics
Jump to: navigation, search

Go Up to Project Options Dialog Box

Project > Options > Debugger

Run > Parameters

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 Object Pascal or for C++:
    • For Object Pascal, the Tools > Options > Environment Options > Object Pascal Options > Library page.
    • For C++, the Tools > Options > Environment Options > 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

Displayed only when a Mac OS X target is selected in the Target field. Opens a separate terminal window for debugging on the Mac OS X target platform (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. To launch Xterm, enable the checkbox. You can also change the path or enter a different command line to start a terminal window of your choice on the Mac.

See Also