[Lazarus] Debugging in Lazarus, cannot inspect values at breakpoints...
Michael Van Canneyt
michael at freepascal.org
Wed Sep 30 10:55:36 CEST 2020
On Tue, 29 Sep 2020, Martin Frb via lazarus wrote:
> On 29/09/2020 18:22, Martin Frb via lazarus wrote:
>> On 29/09/2020 17:49, Bo Berglund via lazarus wrote:
>>> When I reach this breakpoint and I hover the mouse over Body.Text or
>>> Body.Count Lazarus shows a message saying:
>>>
>>> Body.Text = Type TSTRINGS has no component named TEXT
>>> and
>>> Body.Count = Type TSTRINGS has no component named COUNT
>>>
>>> What is that?
>>
>> Its a property, and calls a getter function.
>
> For a Stringlist, you can inspect individual "items".
>
> Using the "debug inspector" you can click through (mylist.FLIST)^[0].FSTRING
>
> GDB may not be able to do this (not sure, but faint memory....)
> FpDebug can do this (at least in trunk)
Does Lazarus offer the functionality Delphi has (since quite some time, I
might add): custom debug info visualizers ?
See
http://docwiki.embarcadero.com/RADStudio/Sydney/en/Debugger_Visualizers
Seems like a useful addition.
Don't know if it is technically feasible, though.
Michael.
More information about the lazarus
mailing list