[Lazarus] Debugging in Lazarus, cannot inspect values at breakpoints...

Ondrej Pokorny lazarus at kluug.net
Wed Sep 30 12:41:18 CEST 2020


On 30.09.2020 12:34, Martin Frb via lazarus wrote:
> On 30/09/2020 11:54, Ondrej Pokorny via lazarus wrote:
>> Tooltip evaluation: works for me
>> Watches: works for me
>> Local Variables: doesn't work for me - strange, I have to re-check. I 
>> thought it worked here.
> Locals do not have the type info
>
> Gdb returns them as just a pair of name value strings.
>
> Of course the backend could run each of them a watch. That will be a 
> bit slower though.

Aahhh, thanks - I remember now. I did it for locals (I obtained the type 
info for every locals entry) but it made debugging so painfully slow 
that I reverted it.

Thanks for the info - I don't have to check now again.

Ondrej



More information about the lazarus mailing list