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 145204 - [65cat] Breakpoint not settable / not visable
Summary: [65cat] Breakpoint not settable / not visable
Status: RESOLVED DUPLICATE of bug 105746
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker with 1 vote (vote)
Assignee: Max Sauer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-26 19:29 UTC by ulfzibis
Modified: 2008-10-03 10:58 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Breakpoint part 1-4 (10.71 KB, image/jpeg)
2008-08-26 19:31 UTC, ulfzibis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ulfzibis 2008-08-26 19:29:36 UTC
[ BUILD # : Beta ]
[ JDK VERSION : 1.6.0_07 ]

See attachment.
Part 1) Because of other annotation, breakpoint is not settable by
mouse-click
Part 2) Breakpoint was set by context menu
Part 3) Breakpoint not visible after click on small black arrow. Also
the light-red background of the line disappeared.
        IMHO at least the background-colouring should remain.
Part 4) How it looks after debug start.
Comment 1 ulfzibis 2008-08-26 19:31:49 UTC
Created attachment 68366 [details]
Breakpoint part 1-4
Comment 2 Martin Entlicher 2008-10-02 15:29:43 UTC
This is a standard concept in NetBeans.
However, I agree that when only one annotation defines the background highlight, it should stay there regardless of
which annotation icon is visible on the gutter.
Moving to editor to fix this.

Also the inability to set breakpoints when there are other annotations can not be fixed in debugger. Please look at this
as well.
Comment 3 ulfzibis 2008-10-02 15:35:54 UTC
> Also the inability to set breakpoints when there are other annotations can not be fixed in debugger.

So Issue 148963 could be a severe help in this case. :-)

Comment 4 Martin Entlicher 2008-10-02 16:08:53 UTC
Issue #148963 seems to be irrelevant to this problem.
You basically know that breakpoints work on non-empty lines and on the first line of a multi-line expression.

This is about inability to set breakpoints to intended lines and about inability to see the breakpoint when there's a
different annotation on top.
Comment 5 ulfzibis 2008-10-02 17:05:37 UTC
> Issue #148963 seems to be irrelevant to this problem.

I mean, that if the gutter is occupied by annotations in desired line, user could click 1 line before (if empty), and
profit from capabilities of Issue #148963.

Comment 6 Vitezslav Stejskal 2008-10-03 10:58:39 UTC
#1 -> issue #105746
#3 -> issue #79457

> However, I agree that when only one annotation defines the background highlight, it should stay there regardless of
> which annotation icon is visible on the gutter.

No, I don't think this is the right way to go.

*** This issue has been marked as a duplicate of 105746 ***