Page 1 of 1

globals.js weird behaviour in debug

PostPosted: Thu Apr 30, 2015 5:35 pm
by drookwood
I'd love a solution to this: when I run in debug with breakpoints in recently added methods in my globals.js the breakpoint takes me to somewhere entirely different though the method executes perfectly OK! For example if the breakpoint is set at line 18856 I might actually be taken to line 580 when it hits the breakpoint. Seems like a refresh issue but refresh has not fixed this not has a clean, nor even an import to a new workspace.

I have seen this once or twice in the past and it generally seems to sort itself out - is there a way to force an update that gets it to behave?

Re: globals.js weird behaviour in debug

PostPosted: Thu Apr 30, 2015 7:09 pm
by mboegem
In case you want the Servoy dev-team to have a look at this: file a case at support.servoy.com

Which version of Servoy is this?

Re: globals.js weird behaviour in debug

PostPosted: Thu Apr 30, 2015 8:34 pm
by drookwood
still on 5.2.17 so probably not going to see any fixes if this is a Servoy issue!

Re: globals.js weird behaviour in debug

PostPosted: Mon May 04, 2015 10:29 am
by jcompagner
but after a restart of a client (or restart of the whole developer) the breakpoints do work on the right location?

or if you really reset the breakpoints once? (remove and add them 1 or 2 lines below/above back in)