Is JSP/JSF debugging supported in Sun Java Studio Creator?
By winston on Jun 12, 2006
Sun Java Studio Creator provides a powerful way to debug your web application project being developed. You can step through the Java code using the debugger support in the IDE. Also you can monitor the data flow inside the web application using HTTP Monitor utility tool
However, Creator does not support stepping through the JSP/JSF code. This is a limitation. As you know, when the web application is deployed, JSP pages are compiled in to servlets and the intermediate Java code resides inside the Application Server's context. While debugging, the debugger actually step through this intermediate Java code. There was no mapping between this ugly intermediate java code and the corresponding line in the JSP. We expected that Creator user will be confused by these intermediate files suddenly appearing in the IDE's editor. That was the reason why we disabled the stepping through JSP code. If you try to place a break point in the JSP editor, you would hear a beep sound, indicating it is not allowed.
Good news!. This will be no longer a limitation in the future release of Creator. For the next release of Creator pack over Netbeans, stepping through JSP code will be supported. Netbeans currently maps the intermediate Java code line (being debugged) to the corresponding line in the JSP. As a result the line in the JSP is correctly highlighted. The ugly intermediate file no longer surfaces, which is good news for the Creator customers.