debugger erasing breakpoints

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

debugger erasing breakpoints

Postby RobertMeyer » Fri Apr 09, 2004 12:59 am

i've been having this problem for quite a while; i just
keep forgetting to post it here...

it seems that quite often, i set a breakpoint or two in
the method editor, fire up the form, and test whatever
it is i'm working on, only to find that the breakpoint
never occured (the code is running, but the debugger
never "breaks" to allow me to debug).

i also see that the breakpoints are sometimes cleared
when i look at the method!

oh, and while we're on the subject, sometimes after
i remove a breakpoint, they still occur!!
RobertMeyer
 
Posts: 268
Joined: Sat Dec 27, 2003 9:05 pm

Postby jcompagner » Fri Apr 09, 2004 8:47 pm

do you have a reproduceable testcases (steps)
For example do you switch from browse to designer and back?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8828
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Postby RobertMeyer » Fri Apr 09, 2004 9:58 pm

it's a little difficult to pin down;

sometimes, i just switch from the method editor
window to the active servoy window (already in
'browse' mode, if that's the right term), then
click a button or do something that will cause the
script to fire, and it fails to break into the debugger.

at other times, while in designer mode, i've actually
set a breakpoint in the method editor, arranged the
windows so i could see both the method editor and
the designer window, switched to browse mode, and
actually watched the breakpoint disappear!

i'm really not sure how to reproduce it at will however
(sorry!)
RobertMeyer
 
Posts: 268
Joined: Sat Dec 27, 2003 9:05 pm

Postby jcompagner » Mon Apr 12, 2004 8:30 am

one thing i did find out was that breakpoints set or unset when you are in designmode where reverted to the state before entering designmode the moment you got out of design mode..
i fixed this.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8828
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Postby RobertMeyer » Mon Apr 12, 2004 7:02 pm

great!
RobertMeyer
 
Posts: 268
Joined: Sat Dec 27, 2003 9:05 pm


Return to Programming with Servoy

Who is online

Users browsing this forum: No registered users and 9 guests