[Lazarus] Stepping into the LCL with fpdebug

Luca Olivetti luca at wetron.es
Mon Apr 22 11:52:54 CEST 2024


El 22/4/24 a les 11:47, Martin Frb via lazarus ha escrit:
> On 22/04/2024 11:13, Luca Olivetti via lazarus wrote:
>>
>> That doesn't answer my question: then how is it possible that I can 
>> step into the lcl with gdb and -gl even if I don't specify "-gl"  in 
>> additions and overrides?
> 
> Because your LCL is probably build with STABS. And gdb can read stabs, 
> but FpDebug can't.

That would explain it, provided it's fpc default (in this case for win32).

> 
>> For the record: it is *not* necessary to add -gw3 to "configure build 
>> lazarus", it's enough to put it in the "additions and overrides". 
> Yes, it's either, or, or both.

Well, since putting it in "configure build lazarus" didn't work (at 
least it didn't solve my problem), while putting it in "additions and 
overrides" did, I don't consider them equivalent.
In any case, problem solved, until next time I decide to change 
something ;-) (which I should refrain to do :-D)

Bye
-- 
Luca Olivetti
Wetron Automation Technology https://wetron.es/
Tel. +34 93 5883004 (Ext.3010)  Fax +34 93 5883007



More information about the lazarus mailing list