Thanks !
i did use read fSomInt, but with the Standard Lazarus Debugger (not sure which one it is ). So switching debugger should allow me to view the content, and if I'm not completely wrong Lazarus already has several debuggers in the installation directory (lazarus\components\lazdebuggers)?
The default debugger is now FpDebug. But if you upgraded, it might have kept your old config with gdb.
In anyway, both debuggers can do Dwarf. "Project Options" > "Debugging"
"DWARF" and "STABS" are format-specs (like doc, pdf, rtf...). They specify
how the compiler stores info for the debugger. And they of course also affect
what can be stored. Additionally the compiler may only have implementation for a subset of each of them. And so may the debugger. (e.g. FpDebug only supports DWARF). "DWARF" is the recommended of the 2 formats.
The option "-gh" or "default" for the debug-info-format, is decided by FPC. In many cases it is DWARF, but in some it may still be stabs.
Neither format supports properties at all. But (when using DWARF) for
property Data: TFooType read FDataField
FPC will encode "Data" as if it was a field (a variable on the object). Therefore the debugger (any debugger) will be able to display it.
As a consequence
property Data read FDataField write SetData;
The debugger only sees FDataField. If you modify the value of "Data" (modify dialog), then it will directly set FdataField. It will
not call "SetData"