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.
[#200511231900, jdk1.5.0] to reproduce: ------------- 1) clean project 2) open a .java (.jsp, ...) ERROR: cannot set breakpoint, Toggle Breakpoint and Run to Cursor actions are disabled. Reproducible in J2SE, Web, ... projects.
I cannot reproduce it in build 200511271900 Steps used: 1) start with clean userdir 2) create sample project AnagaramGame 3) open any .java file 4) set breakpoint These steps works also with TomcatJSPExample project.
You are right, it is hard to reproduce by the previous steps. better steps to reproduce (thanks to Libor): 1) create new Web project 2) set a breakpoint in index.jsp NOTE: the brakpoint is correctly toggled 3) click WEB-INF node in the Explorer view 4) click index.jsp ERROR: cannot set breakpoint, Toggle Breakpoint and Run to Cursor actions are disabled. Or in J2SE project: 1) open a .java 2) click the .java's package node 3) click the .java node in the Explorer view ...
TopComponent.getRegistry ().getCurrentNodes () returns old value in time of calling toggle breakpoint action providers.
Fixed. Checking in EditorContextImpl.java; /cvs/debuggerjpda/ant/src/org/netbeans/modules/debugger/projects/EditorContextImpl.java,v <-- EditorContextImpl.java new revision: 1.22; previous revision: 1.21 done
Rollbacking due to the issue 69633. Checking in EditorContextImpl.java; /cvs/debuggerjpda/ant/src/org/netbeans/modules/debugger/projects/EditorContextImpl.java,v <-- EditorContextImpl.java new revision: 1.23; previous revision: 1.22 done The fix (or similar one) can be re-applied after the blocking issue is fixed.
Fixed after issue 69633 was fixed. Checking in EditorContextImpl.java; /cvs/debuggerjpda/ant/src/org/netbeans/modules/debugger/projects/EditorContextImpl.java,v <-- EditorContextImpl.java new revision: 1.24; previous revision: 1.23 done Patch modified as jtulach suggested in the issue 69633.
Version 1.24 was rollbacked to 1.23 again due to broken commit validation. New version is 1.25. CV is now fixed, thus committing once again: Checking in EditorContextImpl.java; /cvs/debuggerjpda/ant/src/org/netbeans/modules/debugger/projects/EditorContextImpl.java,v <-- EditorContextImpl.java new revision: 1.26; previous revision: 1.25 done
v.