Page 1 of 1

Is

PostPosted: Fri Dec 05, 2008 5:33 am
by full_noize
Hello,

Could some kind soul tell me if this what Servoy 4.1 final is supposed to look like? I can't see any debug stuff anywhere... And I have set default perspective


Image

Thank you.

Re: Is

PostPosted: Fri Dec 05, 2008 10:00 am
by mboegem
Hi,

seems pretty normal to me. What might be confusing is that not all perspectives do have a 'buttoned' entry as default.

If you look into the 'window' menu choose 'open perspective' > 'other' you will see a list with different perspective.
Be aware of your default perspective: 'form design'.
Once you switch to a different perspective there is no 'buttoned' way back by default, so you have to do this the same way.

It is possible to have (and create) different perspectives and store them on a tab panel at the upper right corner of eclipse.

Another way to reach the debugger is to set a breakpoint in the method you want to debug and start the action that will use this method.
Servoy will warn you that it will switch to a different perspective etc. etc.

Good luck!

Re: Is

PostPosted: Fri Dec 05, 2008 10:12 am
by full_noize
Thanks Marc, that is now very obvious! In time, I'll get used to Eclipse...

Re: Is

PostPosted: Wed Dec 17, 2008 11:43 pm
by amcgilly
While on the subject of debugging ...

Under 4.0.1 if I want to run and/or debug a specific method from within Serclipse, I am doing the following:

1 - open the solution that includes that method in a client window
2 - navigate to the method in the solution explorer
2 - right-click on the method in the solution explorer
3 - select 'Debug Method'

I notice that there are a lot of other 'debug as' commands available, such as when you right-click on the method (function) name in the script editor, or in the outline pane. They are often a lot more convenient than what I've described above. Can any of these 'debug as' commands be made to work the same way? When I try to use them I don't get thrown into the debugger, I just get errors and sometimes Serclipse hangs.

Re: Is

PostPosted: Thu Mar 26, 2009 5:25 pm
by jcompagner
those Debug as -> dont work at the moment, maybe we can improve that to have Debug as -> "Servoy method" in the future

But in the outline view you also have "Debug method" that will also work just like in the Solution explorer tree.

Re: Is

PostPosted: Thu Mar 26, 2009 5:28 pm
by jcompagner
mboegem wrote:Once you switch to a different perspective there is no 'buttoned' way back by default, so you have to do this the same way.


what do you mean with this?
Open perspectives can always be "buttoned" back
thats in the top right cornder, just make that place a bit bigger.