This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am using Eclipse 3.5 (Galileo) package and I would like to know that is it possible to put breakpoints in JSP's to debug them? I have tried adding breakpoints in some JSP's, but I get the error message of something like "Cannot add a breakpoint here" or something!!! Is there a plug in that can do it?
Have you created a server (within Eclipse) and associated your web application project with a server? Oh, and did you create a Dynamic Web Application project? I think all of those things have to be in place before you can debug JSPs.
Just to double check, I tried it again and it works for me - Eclipse stops at the breakpoint in my JSP. If you want to know what I did, you can read the help text in Eclipse on debugging JSPs (it's under Web Tools Platform User's Guide, "Debugging a JSP file under a server")
I m separate user from the original thread originator -
I am using my own Ant script to build and deploy to Tomcat. I use Sysdeo plugin in Eclipse to start and stop Tomcat. But it is strange the debug does not work...
What can be the problem? The only thing I see different is that I do not use the Eclipse Server (Tomcat).
The strange part is that this worked some time back!!