On 07/03/2012 19:09, Richard Mace wrote:
Hi,
I have the following code, with a break point on if for debugging:
oUser.Id := fSQLQuery.Fields[0].AsInteger;
When I highlight the Id part of oUser, I get an error, however, when I
highlight oUser, I get a breakdown of all of the parameters, including
the Id.
Any ideas?
http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Properties
using dwarf or stabs?
In the full object, do you see: "ID" or "FId" (the field)?
Open the Debug Output window, and watch what is sent to gdb when trying
to eval "ID" (result is cached, so must be 1st attempt)
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus