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

2023-04-19 Thread Giuliano Colla via lazarus
Il 19/04/2023 18:34, Bo Berglund via lazarus ha scritto: Result: When I use Release the symbols are not added and when using Debug, then the symbols are added*and* the executable name is changed to originalname.dbg. This is of course on Linux, what happens on Windows I don't know.

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

2023-04-19 Thread Bo Berglund via lazarus
On Sun, 16 Apr 2023 13:32:12 +0200, Martin Frb via lazarus wrote: > >On 16/04/2023 11:15, Bo Berglund via lazarus wrote: >> - Use Run menu Build or Compile: no symbols should be included. >> - Click the green run arrow button then the symbols will be included. > > >I think the closest you may

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

2023-04-16 Thread Martin Frb via lazarus
On 16/04/2023 11:15, Bo Berglund via lazarus wrote: - Use Run menu Build or Compile: no symbols should be included. - Click the green run arrow button then the symbols will be included. I think the closest you may get to this is build modes. But all and any button/key/menu always use the

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

2023-04-16 Thread Bo Berglund via lazarus
Las 2.2.6/Fpc 3.2.2 I use the config item: Project/ProjectOptions/CompilerOptions/Debugging/GenerateInfoForTheDebugger 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 this: - Use Run menu Build or Compile: no