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.
[#200910130201, jdk1.6] to reproduce: ------------- 1) open a .jsp 2) try to set a breakpoint ERROR: IDE does nothing.
I can reproduce. Martin E, could you please investigate? I don't think we did any changes in the JSP debugger that could affect this. Thanks.
Reproduced as well. This is most probably caused by the fix of issue #168415. NbDocument.findRecentEditorPane(org.netbeans.modules.web.core.jsploader.BaseJspEditorSupport) returns null. This may be similar problem to issue #172889.
Reassigning for evaluation.
I will look at it.
Reason why it does not work is that BaseJspEditorSupport$BaseJspEditor.componentActivated does not call super.componentActivated. I will fix this and I also check possibility to add warning to CloneableEditorSupport.getRecentPane when lastSelectedPane is not set. I will also update javadoc of CloneableEditor.componentActivated.
core-main #718922b0a1d1
Thanks a lot! Looks like this regression was caused by Marek F's fix of issue 171046: http://hg.netbeans.org/main-golden/rev/ef2e8682300e. Cc'ing Marek F so he can review.
Integrated into 'main-golden', will be available in build *200910160201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/718922b0a1d1 User: Marek Slama <mslama@netbeans.org> Log: #174460: Call super.componentActivated in CloneableEditor subclass to call setLastSelected on editor support.
v.