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.
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
Created attachment 58621 [details] Screenshot of netbeans java editor
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 ***