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.
<jsp:include page="myotherpage.jsp" flush="true"/> setting a breakpoint on this results in a mapping to the line withthe { in // begin [file="/debug.jsp";from=(6,0);to=(6,50)] { String _jspx_qStr = ""; JspRuntimeLibrary.include(request, response, "myotherpage.jsp" + _jspx_qStr, out, true); if ("true".equals(request.getAttribute("javax.servlet.forward. seen"))) return; } // end I think the right thing to do is to map to all the lines in the code block? Debugging experts will know better. I'm filing this as a P4 for now, on the assumption that it cannot be fixed for 3.5. We should make sure that this works with the JSR-45 mappings. FWIW, this is translated to a single line with Jasper 2 (Tomcat 4.1 or 5): org.apache.jasper.runtime.JspRuntimeLibrary.include(request , response, "myotherpage.jsp", out, true); I looked into forwards also, and I don't think we do the correct behaviour there either, though perhaps that is less serious. It's translated as follows (similar with Jasper 2) and we map it to the if(true) line. // begin [file="/debug.jsp";from=(3,0);to=(3,37)] if (true) { out.clear(); String _jspx_qfStr = ""; pageContext.forward("myotherpage.jsp" + _jspx_qfStr); return; } // end
Works correctly with JSR45 - debugger stops on include tag.
Verified.