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.
Description: Currently the product requires a complicated procedure to set up a JSP for debugging side-by-side with it's generated servlet. The functionality that exists is great, but the overhead to actually use it is too much. There is a long help topic "Viewing Both JSP and Servlet Files During Debugging" which outlines a 7 step procedure. -------- Addition by avk: VisualAge for Java (or WebSphere Studio, it's IBM anyway) have a beautiful solution to this (which they recently renamed to "JSP monitor" by the way :). Whenever you debug a JSP you automatically get to see the JSP and the corresponding servlet side by side. Below this you also see the generated output as it's created by stepping through the JSP. It would be great if we could provide something similar. I checked with Sean Lewis to see if IBM has filed a patent for this design, and he didn't come up with anything. Please check out this feature and let the design be informed by it - avklopplemon@netbeans.org can provide information. You can see a screen capture of IBM's JSP Monitor window at: http://techpubs.eng/teams/HIE/projects/Jasper/Orion/compeval/ibmvjava2.html jhoffman@netbeans.org 2001-09-06 Work Around: Current seven step procedure. Suggested Fix: Since the "View Servlet" menu item displays the generated servlet in the editor window as a read only file, it might be better to display it in it's own top level window that has a split bar which displays its associated JSP. If the sources are in a single view, then the breakpoints can be kept in sync, so a single scroll bar would be enough. The window's split bar could also be used to hide the JSP source so that the user could just make the generated servlet source visible. Initially, this split pane view may be read only, but in the future it may also be possible to make the JSP pane of this view editable, and then have it as the default JSP editor view. Each time you compile the JSP, the servlet would be updated. Evaluation: it should be implemented with out core changes A comment.
Transferred from BugTraq 4487112.