[Lazarus] Is there a setting to include debug symbols when starting from Lazarus only?

Bo Berglund bo.berglund at gmail.com
Sun Apr 16 11:15:04 CEST 2023

Las 2.2.6/Fpc 3.2.2

I use the config item:
in order to include symbols or not in the executable.

Now I wonder if there is some way to configure this such that it works like

- Use Run menu Build or Compile: no symbols should be included.
- Click the green run arrow button then the symbols will be included.

I know there is a button next to the green arrow that has a little red x and the
hint: "Run without debugging"
But I think this is just for the execution of the program without the debugger,

Or is this working such that both green arrows will add the debug info but only
the one without the x will actually *use* the debugger?

I would like to be able to build the release without symbols from the Run menu
but still use the green arrow to debug without having to change the setting

Is this possible?

Bo Berglund
Developer in Sweden

More information about the lazarus mailing list