Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-05

Runtime ToolTips/Variable Insight and Currency

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Lee Jenkins

Sorry, I'm not familiar with the Lazarus term for hovering your cursor over a variable at runtime and seeing its value.

Is anyone aware that under some circumstance that the Value shown in this tool tips for currency values are displayed correctly?

For instance, I have this code:

procedure TestSaleBasicFunctions.TestSaleCalculateTaxes;
var
   lValue: Currency;
begin
   FSale.Calculate;
   lValue := FSale.Total.Value;
   AssertTrue('Sale Taxes did not add up correctly.', lValue = 15.79);
end;

If I break inside this routine and the step over until the lValue is assigned, if I hover over the variable, the value shows 157900 when in fact the value is 15.70. The actual value of the variable is intact, just the display is wrong when debugging.

I can submit a bug report but I figured this was something known already.

Warm Regards, Lee

Reply by email

Graeme Geldenhuys
to Lee Jenkins
Lee Jenkins wrote
I can submit a bug report but I figured this was something known already.

Search Mantis and if in doubt, submit a bug report please. If it's not mentioned, it might never be noticed and fixed.

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Reply by email