I’ve recently started working (as the only person in the company) on a Servoy project that wasn’t started here. I’ve run in to multiple problems, most of them, (i hope) due to the fact that the project is still on Servoy 4 (.1.5 build 687) because the client refuses to update.
One issue in particular I just can’t seem to be able to wrap my head around. On seemingly arbitrary moments when developing, a form will refuse to load and hang the whole client, forcing me to force quit the client, bringing dwn the IDE with it. This is extremely frustrating as Servoy doesn’t give me any clues at all as to what went wrong. Am i missing error messages being printed to a log somewhere?
I’ve had these troubles before with other forms, debugging them for hours on end (everytime it hangs the IDE has to restart mind you), not finding a solution when suddenly, everything magically works again.
I am beyond frustrated.
This issue may well have been fixed in Servoy 5.x.
When upgrading is not an option, you could dump the Dump the current stack via the admin page (which is also served by Developer, by default on http://localhost:8080/servoy-admin/ )
Maybe this will give some clue when the IDE hangs again.
Thanks for replying so quickly.
I might not have explained it as well as I could have: It isn’t the IDE that hangs, it’s the client. I can still work in the IDE, but when I force quit the client the IDE goes with it (side question: why are they the same process?).
I took a look at the callstack, but i don’t seem to get any wiser (it’s here http://pastie.org/1042399, if you’d be interested), the only t!hing that catces my eye (i’m not very knowledgeable about java multi-threading) is in the main thread were it says:
Thread: main, state: RUNNABLE, total cpu time: 14203.125ms, total user time: 12265.625ms
org.eclipse.swt.internal.win32.OS.WaitMessage(Native Method)