[Lazarus] Stepping into the LCL with fpdebug

Luca Olivetti luca at wetron.es
Mon Apr 22 09:54:33 CEST 2024


Hello,

up until now I used gdb with -gl and, if in the project options I 
selected -gl, I could step inside the LCL.

For the rtl/fcl I compile fpc this way

make clean install OPT=-g INSTALL_PREFIX=d:\pp-debug

and I specify the resulting compiler in Lazarus' tools->options.

Now I'm switching to fpdebug, it needs -gw3 but I cannot step into the LCL.

I compile fpc with

make clean install OPT=-gw3 INSTALL_PREFIX=d:\pp-fpdebug

(different path so I can keep the two versions) and I can step inside 
the rtl, just not inside the LCL.

Since the packages are automatically built when I build the project, I 
think they should pick the -gw3 setting, shouldn't they?

I thought that the problem was the "Use external debug symbols file 
(-Xg)" but even without that option I cannot step inside the LCL.


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