<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">This can currently not be fixed.
<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>
<br>
Currently neither dwarf-2, nor stabs allow the compiler to tell
the debugger about properties.<br>
So for the debugger properties do not exist, hence the error.<br>
<br>
For the specific case, try (IIRC):<br>
List.flist.fcount<br>
<br>
<br>
On 01/08/2018 10:05, Joe via Lazarus wrote:<br>
</div>
<blockquote type="cite"
cite="mid:180d46b5-a983-762b-1e8c-a6561adc5ba5@Joepgen.com">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<font face="Arial">"Liste der überwachten Ausdrücke" shows the
wrong error message<br>
"<Error: Type TSTRINGLIST has no component named COUNT.>"<br>
<br>
OS: Win 10 (64), Lazarus 1.8.4, SVN Revision 57972.<br>
Steps to reproduce:<br>
Insert this in an unit and let your program call it.<br>
<br>
procedure TForm1.TestProcedure;<br>
var Liste: TStringList;<br>
begin<br>
Liste:= TStringList.Create;<br>
Liste.Add('Eins');<br>
Liste.Free<br>
end; <br>
<br>
</font><font face="Arial">Set a breakpoint at "Liste.Add('Eins')"
and insert "Liste.count" into the "Liste der überwachten
Ausdrücke" (Strg+Alt+W).<br>
Run the program. It stops at the breakpoint and the Liste der
überwachten Ausdrücke shows this wrong error message.<br>
<br>
Regards -- Joe</font><font size="+1"> </font><br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
</body>
</html>