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 36036 - Broken annotation - breakpoint covering whole editor
Summary: Broken annotation - breakpoint covering whole editor
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2003-09-11 11:22 UTC by Milan Kubec
Modified: 2007-11-05 13:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE screenshot (97.59 KB, image/png)
2003-09-11 11:23 UTC, Milan Kubec
Details
screenshot1 (3.98 KB, image/png)
2003-09-19 13:12 UTC, Jaromir Uhrik
Details
screenshot1 (3.98 KB, image/png)
2003-09-19 13:12 UTC, Jaromir Uhrik
Details
screenshot2 (4.05 KB, image/png)
2003-09-19 13:13 UTC, Jaromir Uhrik
Details
screenshot3 (4.00 KB, image/png)
2003-09-19 13:14 UTC, Jaromir Uhrik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kubec 2003-09-11 11:22:37 UTC
Breakpoint annotation drawing was broken, it
covered whole editor, see screenshot.

I had java file opened and set couple of
breakpoints. I was doing modifications (syntax
errors) in external editor and testing reloading
in IDE. After that one breakpoint was drawn only
from the middle of the line to the end of the
line. I started to delete block of source between
that partially drawn breakpoint annotation and
another breakpoint. Once they "hit" I got one big
breakpoint covering whole editor screen. Will
attach screenshot.
Comment 1 Milan Kubec 2003-09-11 11:23:42 UTC
Created attachment 11593 [details]
IDE screenshot
Comment 2 Milan Kubec 2003-09-11 16:23:42 UTC
Not easily reproducible.
Comment 3 Jaromir Uhrik 2003-09-19 13:11:51 UTC
I have reproducible testcase[build #030916 and the trunk build with 
the same patch; j2sdk1.4.2; win2k only (I am not able to reproduce in 
Linux)]:
1. Run IDE with clear userdir and open the file in editor
2. Set Breakpoint and restart the IDE(see screenshot1 - everything 
looks OK)
3. Go to the line before breakpoint and press the Enter key - the 
breakpoint is now at line x, but its annotation at x+1 (see 
screenshot2).
4. Go to the line x+1 and press Shift+F8 - the rest of the editor's 
pane will become colored as breakpoint(screenshot3). Sometimes there 
are some srolling troubles then.

Note:unable to reproduce in 3.5 release
Comment 4 Jaromir Uhrik 2003-09-19 13:12:47 UTC
Created attachment 11670 [details]
screenshot1
Comment 5 Jaromir Uhrik 2003-09-19 13:12:48 UTC
Created attachment 11671 [details]
screenshot1
Comment 6 Jaromir Uhrik 2003-09-19 13:13:38 UTC
Created attachment 11672 [details]
screenshot2
Comment 7 Jaromir Uhrik 2003-09-19 13:14:13 UTC
Created attachment 11673 [details]
screenshot3
Comment 8 Miloslav Metelka 2004-01-23 14:16:37 UTC
This should no longer happen after the integration of the complex fix
of issue 33165. Please reopen if it still happens.
Comment 9 Milan Kubec 2004-07-15 12:48:07 UTC
Seems to be fixed - verified.