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.

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to