Look up Java Platform Debugger Architecture (JPDA) on Sun's website. It was added in v1.3.
The JPDA stuff gets better with every new release of the JVM. To debug servlets, I set up the servlet container (Tomcat usually, though I've done it with iPlanet and WebSphere) to broadcast debug data on a port and hook up my IDE (both Eclipse and Netbeans will do it) to that port. Within your IDE you can them set breakpoints, step through code, change variable values, etc.
I found Eclipse + Tomcat Plugin very handy in debuging. You can step through every single step very easily. Use Eclpise as your IDE for your web application, with Tomcat plugin, just start up Tomcat at Eclipse, you can then set break point at runtime, and step through the code via Eclipse.
a Year Ago or so i try Several way to develop JSP under Eclipse... i don't find a friendly way to do it..
I try Lomboz but was a pain!!!
What are U using? a new version of Lomboz? MyEclipse???
Thanks a lot
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.