Menu

#10 Breakpoints move around.

open
nobody
None
5
2013-01-14
2004-03-05
Nev Delap
No

To reproduce the problem, or variants of it, follow these
instructions (v4.1). Sometimes the breakpoints will
disappear, or double up, or it wont stop on the
breakpoint at all, but this will give you the gist of it.

Create a new file and type in...

1
2 print "here"
3 print "there"
4

Put a break point on line 5...

1
2 print "here"
3*print "there"
4

Press F5, breaks at line 3 - all good so far.

Put the cursor on the end of line 2 and hit enter...

1
2 print "here"
3
4*print "there"
5

Press F5, break point marker moves to line 3, script runs,
and breaks on line 4 - stops where it should have,
breakpoint displayed in wrong place. :(

1
2 print "here"
3*
4>print "there"
5

Press F5 so script ends. Put cursor on line 3 and hit
delete.

1
2*print "here"
3 print "there"
4

Press F5, break point marker moves to line 3, script runs,
and breaks on line 3 - stops in wrong place, breakpoint
moved to wrong place. :(

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.