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.

Bug 11454 - "Run to Cursor" hides Line Breakpoint in editor.
Summary: "Run to Cursor" hides Line Breakpoint in editor.
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-04-16 18:58 UTC by Marian Petras
Modified: 2003-06-30 17:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception thrown when opening Editor window. (845 bytes, text/plain)
2001-07-20 20:36 UTC, Marian Petras
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Petras 2001-04-16 18:58:28 UTC
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.
Comment 1 Marian Petras 2001-04-16 19:36:13 UTC
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.
Comment 2 Marian Petras 2001-04-16 19:37:05 UTC
Created attachment 1128 [details]
Exception thrown when opening Editor window.
Comment 3 Marian Petras 2001-04-16 19:41:23 UTC
PLEASE IGNORE THE FIRST COMMENT AND THE FIRST ATTACHMENT.
IT APPLIES TO DIFFERENT BUG.
Comment 4 Marian Petras 2001-04-17 14:04:53 UTC
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.
Comment 5 Jan Jancura 2001-04-20 09:17:43 UTC
Should be fixed together with "2 breakpoints on one line" bug.
Fixed in Dev. 
Not fixed in NB32, 31.
Comment 6 Jan Stola 2001-04-26 15:55:17 UTC
I am still able to reproduce this bug in Netbeans build 175.
Comment 7 Jan Chalupa 2001-05-05 21:21:00 UTC
Target milestone -> 3.3
Comment 8 Jan Stola 2001-05-15 09:47:18 UTC
Decreasing priority - not a P2 bug.
Comment 9 Daniel Prusa 2001-05-31 09:05:00 UTC
Fixed in main trunk.
Comment 10 Jan Stola 2001-06-08 11:56:16 UTC
Verified in Netbeans build 206.
Comment 11 Quality Engineering 2003-06-30 17:30:58 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.