[Lazarus] Default debugging settings in project options

Michael Van Canneyt michael at freepascal.org
Sun Dec 19 14:14:16 CET 2010



On Sun, 19 Dec 2010, Juha Manninen wrote:

> These 3 settings are in Project options -> Linking page:
>
>     Generate Debugging Info For GDB (Slows Compiling) (-g)
> [X] Display Line Numbers in Run-time Error Backtraces (-gl)
>     Generate dwarf debug information (-gw)
>
> For a new project only -gl is selected by default. However, I am still able to
> debug the application. How is it possible?
>
> I have learned that -gl is not for debug info but line number info as the
> label says.

Line info presupposes debug info. It will not work without debug info.
But including debug info doesn't mean line info is generated in 
run-time errors or exceptions.

Michael.




More information about the Lazarus mailing list