This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Steps to reproduce: 1. Put a line breakpoint somewhere (the line with the breakpoint becomes highlighted). 2. Go to the line with the breakpoint. 3. Press F4 (Go to Source). The debugger stops at the line. 4. Press F8 (Step Over). The line with breakpoint is not highlighted.
I tested two cases: 1) The editor window is not open at all. 2) The editor window is open but the file containing the breakpoint is not open. In the first case, the editor is always open but sometimes an exception is thrown (see an attachment). Concerning scrolling, the behaviour is inconsistent. Sometimes it scrolls to the correct line, sometimes it does not scroll at all, sometimes it scrolls few lines - it seems that sometimes the editor is not "fast enough" to scroll to the correct line.
Created attachment 1128 [details] Exception thrown when opening Editor window.
PLEASE IGNORE THE FIRST COMMENT AND THE FIRST ATTACHMENT. IT APPLIES TO DIFFERENT BUG.
This bug is caused by unmarking hidden breakpoint (created automatically for going to cursor) that is on the same line as an existing visible breakpoint. Maybe the fix will require some cooperation with editor.
Should be fixed together with "2 breakpoints on one line" bug. Fixed in Dev. Not fixed in NB32, 31.
I am still able to reproduce this bug in Netbeans build 175.
Target milestone -> 3.3
Decreasing priority - not a P2 bug.
Fixed in main trunk.
Verified in Netbeans build 206.
Resolved for 3.3.x or earlier, no new info since then -> closing.