On 15/03/2013 02:14, Xiangrong Fang wrote:
Hi,

While single-stepping. I would like to check some data with the "Evaluate/Modify" tool, for example view the count of a stringlist, I get:

Type TSTRINGLIST = class  has no component named COUNT.

As a matter of fact, I get this kind of thing with most variables, except simple stuff like integer and string. Why, and how do I view property of an object?

http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Properties

TStringlist.Count is actually a function, and needs to be called. Currently GDB can not do that.

In that case try TSringlist.FList.FCount

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to