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

Martin Frb lazarus at mfriebe.de
Tue Sep 29 18:29:07 CEST 2020


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)


More information about the lazarus mailing list