[Lazarus] Displaying property values while debugging

Bo Berglund bo.berglund at gmail.com
Sun Jan 23 21:29:19 CET 2011


While debugging my test database application I tried to do as I
ussually do in Delphi to see property values, namely to hover the
mouse over a keyword when the execution has stopped in a breakpoint.

In Delphi I usually see the value of the property, but here in lazarus
I only see a pop-up message about an exception...

in my case I put the cursor in the Text word of the sentence below:

  query.SQL.Text := 'EXEC SelectDongleData @@SerialNo=2485';

The breakpoint has been reached on the next line: query.Open;

When I now hover the mouse over 'Text' then after a while a yellow box
appears with the following content:

-------
query.SQL.Text := 'EXEC SelectDongleData @@SerialNo=2485';
= A syntax error in expression, near 'query.SQL.Text := 'EXEC
SelectDongleData @@SerialNo=2485';

public property TStrings.Text
C:\Programs\fpc\2.4.2\source\rtl\objpas\clases\classesh.inc (638,14)
-------

What is this problem caused by?
Do I have to do something to enable these tooltips with current values
of properties?


-- 
Bo Berglund
Developer in Sweden





More information about the Lazarus mailing list