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

Martin Frb lazarus at mfriebe.de
Wed Sep 30 12:34:40 CEST 2020


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.
Also that will need update of the debugger-intf. IIRC locals do not have 
the storage for the extra info.

The current debugger-intf really is just an extraction of the 
gdbmi-based interface
Now that fpdebug matures, it will be time to change it. If there is 
interest of any one to work on it, I have some ideas....



More information about the lazarus mailing list