6.11.7 Debug options

In the debug options dialog some options for inclusion of debug information in the binary can be set; it is also possible to add additional compiler options in this dialog. The debug options dialog is shown in gure (6.30).



Figure 6.30: The debug options dialog

PIC


The following options can be set:

Debugging information
tells the compiler which debug information should be compiled in. One of following options can be chosen:
Strip all debug symbols from executable
Will strip all debug nd symbol information from the binary. (option -Xs on the command-line).
Generate debug symbol information
include debug information in the binary (option -g on the command-line). Please note that no debug information for units in the Run-Time Library will be included, unless a version of the RTL compiled with debug information is available. Only units specic to the current project will have debug information included.
Generate also backtrace lines information
Will compile with debug information, and will additionally include the lineinfo unit in the binary, so in case of an error the backtrace will contain the lenames and linenumbers of procedures in the call-stack. (Option -gl on the command-line)
Proling switches
Tells the compiler whether or not prole code should be included in the binary.
No prole information
Has no eect, as it is the default.
Generate Prole code for gprof
If checked, proling code is included in the binary (option -p on the command-line).
Addition compiler args
Here arbitrary options can be entered as they would be entered on the command-line, they will be passed on to the compiler as typed here.
Debuggee redirection
If checked, an attempt will be made to redirect the output of the program being debugged to another window (terminal).