Servoy7 How to set debug to see the variable value (mouse)?

Hi to All,

could, kindly, AnyOne resolve these questions?

While I am debugging a method, sometimes if I pass with the mouse gabbler on the variable I can see its value. But sometime I don’t.
Is there a way to set the function?

On another hand, sometime I see the row number of the method and sometime I don’t.
Is there a way to set the function?

Tanks in advance.

Gianni Pinna

For your first problem, I experience this also but don’t know the cause. It’s really handy to get used to the Expressions view in which you can easily track all the stuff you want.

Regarding your second subject, do you mean you can’t see line numbers in script editior? In that case just right click in the left ruler and tick ‘Show line numbers’.

Use the ‘watch’ feature of the debugger. Double-click the desired variable to select it, then right-click on the selected variable. A drop-down list appears. From the list, select ‘watch’. The contents of the variable will now be visible in the Expressions view (upper-right area of display).

I hope this helps!

Hi Ruben,
Hi Kim,

tank You very much for Your perfect specifications.

Hope all goods for You.

Humbly.

Gianni Pinna

Hi Gianni,

you can also use the “Inspect” command to reprodoce the “on mouse over” effect you was talking about on the first point:
double-click (or just put the cursor on it) on the desired variable, than do right-click on it and select “inspect” from the popup menu:
[attachment=1]1.png[/attachment]

the result:
[attachment=0]2.png[/attachment]

Regards

marco.rossi:
Hi Gianni,

you can also use the “Inspect” command to reprodoce the “on mouse over” effect you was talking about on the first point:
double-click (or just put the cursor on it) on the desired variable, than do right-click on it and select “inspect” from the popup menu:

Which Servoy version do you use? I don’t see “inspect” or “watch” in the popup menu (I use Servoy 7.4.4)

I use “Inspect” and “Watch” since servoy 4.x (Are both Eclipse feature I suppose).

To get “inspect” and “watch” command, you have to put a break-point on your program. When the runtime component is paused on your breakpoint, then these commands will appear.