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.
If you split expression to more lines, debugging of following lines is shifted. Create new JSP and put following code to it: ================================== <%= "first line" + "second line" + "third line"%> <%! private String mymethod() { return "mymethod"; } %> <%-- put breakpoint here --%> <% out.println(mymethod()); int i = 10; i = 20; %> <%= i++ %> <%= i++ %> ================================== Put breakpoint to marked line and start debugger. Add variable i to watches. Trace JSP by pressing F7. Note that you will jump to mymethod() 2 lines down than it should be. Also variable i is changed late.
tomcat smap mapping bug: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=30291
I verified the bug has been fixed in Tomcat dev build. Need to wait for a new release to update the bundled Tomcat.
tomcat 5.0.28 has been integrated, so this should be fixed in trunk now
verified