Page 1 of 1

debugger erasing breakpoints

PostPosted: Fri Apr 09, 2004 12:59 am
by RobertMeyer
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!!

PostPosted: Fri Apr 09, 2004 8:47 pm
by jcompagner
do you have a reproduceable testcases (steps)
For example do you switch from browse to designer and back?

PostPosted: Fri Apr 09, 2004 9:58 pm
by RobertMeyer
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!)

PostPosted: Mon Apr 12, 2004 8:30 am
by jcompagner
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.

PostPosted: Mon Apr 12, 2004 7:02 pm
by RobertMeyer
great!