EDIT: Possible that extended shows 0 at breakpoint even if there is something else than 0 ?
Depends on a lot of factors.... Albeit, I would expect the correct value or an error, but that said there could be (have been) a bug...
First of all: Is your sig up to date:
lazarus 3.2-fpc-3.2.2-win32/win64
That is old, really old.
If it is that, and if you use a 64bit IDE to cross debug a 32bit project, and you use FpDebug, then it should probably have shown an error, but who knows, could have been buggy to show zero. => Because the 64 bit IDE does (on Windows) not have native extended).
But the 4.x should have that solved (IIRC I implemented that before the release of 4.0, but would need to double check the exact time).
If you did not cross debug, the it should have been ok. In a 64 bit project this compiles to double, which should work.
If you used gdb as debugger, I would expect it to show the correct value, but I don't know all issues in every version of gdb. So I can't really tell.
If you compiled with optimization -O2 or higher) then all variables may be shown wrong at some times, and right at other times. (debug info is not correctly generated at that level).
There is another option, though it wouldn't explain the wrong result in the end.
If you compiled the debug build with -gtt (2 3 or 4 t, not sure, need to check). With the right amount of t (and it may combine that with -gt in other configs, if you have) then variables are initialized to 0 for such a build, but not for other builds.