The green “run” right-pointing triangle icon in the debugger is sometimes greyed out for no apparent reason. When it is, the yellow “break” and red “terminate” icons are displayed (not greyed out). Clicking them has no effect.
I’m forced to reboot Servoy to get back usual conditions.
A second phenomena. When I’m stepping through a method and press the red terminate icon sometimes the method stops in its tracks, which is what I would expect and want. But sometimes the routine continues some additional steps ending up on a secondary method. I’ve not been able to discern any pattern.
As a result the teriminate icon feels unpredictable. Neither is related to recent builds of Servoy or change of circumstances on this system.
Servoy Developer
Version R2 2.2.1rc-build 330
Java version 1.5.0_04-b05 (Windows XP)
i think these things are related when you are nesting methods
And then not directly through javacript itself like a call to another javascript method.
But more like if you do controller.showForm on one form in a method and that one has an onShow method attached and those things.
Because then you are running 2 kinds of scripts flows at the same time.
Terminating one will then cause one to terminate. But most likely not the other one (that one will step on)
jcompagner:
i think these things are related when you are nesting methods
And then not directly through javacript itself like a call to another javascript method.
But more like if you do controller.showForm on one form in a method and that one has an onShow method attached and those things.
Because then you are running 2 kinds of scripts flows at the same time.
Terminating one will then cause one to terminate. But most likely not the other one (that one will step on)
Then, can I put in a request for a Terminate function that stops everything in its tracks? As it stands, these controls are confusing.
What about that greyed out Run icon? Why does it sometimes become greyed out, forcing me to reboot Servoy in order to reset it? Any thoughts on that?
It’s my guess some unknown process is running on the database which the Terminate icon is powerless to stop. If so, how do I debug this?