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 130455 - Can't Set Breakpoints On Some Lines
Summary: Can't Set Breakpoints On Some Lines
Status: RESOLVED DUPLICATE of bug 105746
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-18 20:12 UTC by imnes
Modified: 2008-03-19 09:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of netbeans java editor (62.44 KB, image/gif)
2008-03-18 20:13 UTC, imnes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description imnes 2008-03-18 20:12:03 UTC
In the Java source editor, usually set breakpoints by clicking the line number in the gutter of the editor.  If there 
is a code assist icon (like the green -I- or annotation list) you can't put a breakpoint on those lines.  (Such as line 
numbers 71, 78, 84, 88 in the screenshot link below).

Screenshot available:
http://picasaweb.google.com/nick.smith/MyScreenshots/photo?authkey=Cq24luHpr7s#5179160389108913266

Behavior seems to be the same on Windows XP and Linux GTK (Ubuntu) both using Java 6.

I thought one workaround would be to navigate to a line of code and set a breakpoint using the keybaord, but couldn't 
find the shortcut key to do that?

Nick
Comment 1 imnes 2008-03-18 20:13:12 UTC
Created attachment 58621 [details]
Screenshot of netbeans java editor
Comment 2 Jan Lahoda 2008-03-19 09:34:32 UTC
Please see issue #105746. The shortcut for Toggle [line] Breakpoint is Ctrl-F8, for method and other breakpoints there
is New Breakpoint - Ctrl-Shift-F8.

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