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).
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 speci c 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)
-
Pro ling switches
- Tells the compiler whether or not pro le code should be included in the
binary.
-
No pro le information
- Has no e ect, as it is the default.
-
Generate Pro le code for gprof
- If checked, pro ling 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).