Debugger
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 |
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. |
Parameters |
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:
|
Use launcher application |
Displayed only when an OS X target is selected in the Target field. Opens a separate terminal window for debugging on the 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. |