[Lazarus] Stepping into the LCL with fpdebug

Martin Frb lazarus at mfriebe.de
Mon Apr 22 11:02:41 CEST 2024


On 22/04/2024 10:37, Luca Olivetti via lazarus wrote:
>
>> But if they have it would be super useful to have a setting "use the 
>> debug setting of the system unit", but there is not.
>>
>> You can add the -gw3 flag depending on build mode:
>> https://wiki.lazarus.freepascal.org/IDE_Window:_Compiler_Options#Add_a_flag_to_project_and_all_packages 
>>
>
> Then why I can step into the LCL with gdb and -gl?
> I'm already using the additions and overrides but I don't currently 
> specify any debug option there.

packages (even if rebuild) have their own settings what debug info type 
they use.

This is in each package's options.

LCL and many packages also include the settings that you specify in 
"Tools > Configure build Lazarus". So you can specify the setting there.

Or you can specify in "Additions and Overrides" with Target packagname, or *


More information about the lazarus mailing list