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.
Product Version: NetBeans IDE Dev (Build 200908221401) Java: 1.6.0_15; Java HotSpot(TM) Client VM 14.1-b02 System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb) It is impossible to set a breakpoint in Form files. "Toggle Line Breakpoint" option is disabled, clicking into gutter does nothing. Reproducible for all Swing/AWT GUI Forms. It works without problem in other files.
Reproduced. I have no idea what is wrong, since breakpoints work without problems in my private dev build. Regression caused by some strange integration (like issue #170677).
I have a suspicion that it's caused by fix of issue #168415. To prove that I'm going to update and recompile sources...
This is really a regression caused by fix of issue #168415. NbDocument.findRecentEditorPane(ec) returns null when ec is an instance of org.netbeans.modules.form.FormEditorSupport.
Fixed by rollback of debugger-side part of http://hg.netbeans.org/main-golden/rev/218c176d8a97 We use back the expensive call EditorCookie.getOpenedPanes() that works fine. Fixed in changeset: 142464:494c247fd06e
Integrated into 'main-golden', will be available in build *200908242212* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/494c247fd06e User: mentlicher@netbeans.org Log: #170802 - Use EditorCookie.getOpenedPanes() again to fix regression. Rollback of fix of issue #168415.
*** Issue 170865 has been marked as a duplicate of this issue. ***