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

Questions and answers on designing your Servoy solutions, database modelling and other 'how do I do this' that don't fit in any of the other categories

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

Postby cuoredisardegna » Thu Mar 17, 2016 10:41 am

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
cuoredisardegna
 
Posts: 68
Joined: Mon May 07, 2012 5:34 am

Re: Servoy7 How to set debug to see the variable value (mous

Postby Ruben79 » Thu Mar 17, 2016 2:33 pm

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'.
Ruben de Jong
Stb Software Development
SAN Partner

Stb Software Development - http://www.stb.nl
User avatar
Ruben79
 
Posts: 97
Joined: Wed Apr 18, 2007 12:43 pm

Re: Servoy7 How to set debug to see the variable value (mous

Postby kwpsd » Thu Mar 17, 2016 5:55 pm

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!
Kim W. Premuda
San Diego, CA USA
User avatar
kwpsd
 
Posts: 687
Joined: Sat Jul 28, 2007 6:59 pm
Location: San Diego, CA USA

Re: Servoy7 How to set debug to see the variable value (mous

Postby cuoredisardegna » Thu Mar 17, 2016 9:47 pm

Hi Ruben,
Hi Kim,

tank You very much for Your perfect specifications.

Hope all goods for You.

Humbly.

Gianni Pinna
cuoredisardegna
 
Posts: 68
Joined: Mon May 07, 2012 5:34 am

Re: Servoy7 How to set debug to see the variable value (mous

Postby marco.rossi » Tue Mar 22, 2016 11:36 am

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:
1.png
1.png (20.09 KiB) Viewed 3880 times


the result:
2.png
2.png (25.25 KiB) Viewed 3880 times


Regards
Marco Rossi
Senior Analyst Developer
Freelance Consultant

IT Manager @Mantho
Webmaster @Sitoliquido
marco.rossi
 
Posts: 110
Joined: Sun Apr 12, 2015 9:33 pm

Re: Servoy7 How to set debug to see the variable value (mous

Postby juan.cristobo » Wed Mar 23, 2016 1:22 pm

marco.rossi wrote: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)
Juan
Madrid (Spain)

Servoy 7.4.x - MySQL / SQL Server 2008-2016
Windows 10 Pro
juan.cristobo
 
Posts: 186
Joined: Thu Apr 19, 2012 9:12 am

Re: Servoy7 How to set debug to see the variable value (mous

Postby marco.rossi » Wed Mar 23, 2016 4:39 pm

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.
Marco Rossi
Senior Analyst Developer
Freelance Consultant

IT Manager @Mantho
Webmaster @Sitoliquido
marco.rossi
 
Posts: 110
Joined: Sun Apr 12, 2015 9:33 pm


Return to Programming with Servoy

Who is online

Users browsing this forum: No registered users and 20 guests

cron