On Mon, 23 Jan 2006 16:02:14 +0200
Graeme Geldenhuys <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I just read the Bug Report 1649.  I saw the option in Lazarus for
> "tooltip expression evaluation", but have know idea how this works?  I
> have always tried it, as mentioned in the bug report, as that is how
> it worked under Delphi/Kylix, but in never worked for me.
> 
> What is the "tooltip expression evaluation" in Lazarus, and how do you use
> it?
> 
> Example of what I tried:
> -----------------------------------
> begin
>   i := ValueA + ValueB;
> -----------------------------------
> 
> >From what I understood "tooltip expression evaluation" means, is that
> if I put a breakpoint on line 2 and run the app. 

AFAIK there you ca not set the breakpoint on the very first line of a
program.
And if ValueA is a constant, it may be replaced by the compiler.


> When the program
> breaks, I can hover the mouse over "x" or "ValueA" or "ValueB" and a
> tooltip will appear with the value of that variable.

Correct. I just tested: It does.

 
> This is what I expected, but it has never worked under Linux or
> Windows.  Maybe I am understanding this feature all wrong?  Any hints?

Does the program stop at the breakpoint?
Can you see something in View -> Debug Output while running?


Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to