<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 07/03/2012 19:09, Richard Mace wrote:
<blockquote
cite="mid:CAK+KT3_WQ2dz4s9UsAakZE8HAmr+nbTm-Ffcokggge4q3nWnsQ@mail.gmail.com"
type="cite">
<div id="WISESTAMP_SIG_187">
<div
style="font-size:13.3px;font-family:Verdana,Arial,Helvetica,sans-serif">Hi,<br>
<br>
I have the following code, with a break point on if for
debugging:<br>
<br>
<img moz-do-not-send="true"
src="http://p1.wisestamp.com/pixel.png?p=mozilla&v=3.9.12&t=1331147225876&u=fb57dc480c4ca423"
height="1" width="1">oUser.Id :=
fSQLQuery.Fields[0].AsInteger;<br>
<br>
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.<br>
<br>
Any ideas?<br>
<br>
</div>
</div>
</blockquote>
<br>
<a class="moz-txt-link-freetext" href="http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Properties">http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Properties</a><br>
using dwarf or stabs?<br>
<br>
In the full object, do you see: "ID" or "FId" (the field)?<br>
<br>
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)<br>
</body>
</html>