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

Martin Frb lazarus at mfriebe.de
Mon Oct 26 11:29:06 CET 2020

On 11/10/20 21:11, Bo Berglund via lazarus wrote:
> Type TBITBTN has no component named ENABLED.....

Enabled is a *property*

Fpc currently does not add debug-info for properties at all. You can 
inspect only fields and variables.

The only exception is: when the project (or package) settings specify 
"dwarf" debug info type *AND* the property does not have a "getter 
function", but instead directly accesses the field "read FEnabled".

Unfortunately the debugger can not yet call functions (e.g. GetEnabled) yet.
Work for this is in progress, as part of fpdebug. But not yet use-able.

More information about the lazarus mailing list