I am trying to debug my application using Eclipse(3.3) and Tomcat 5.0.28, I had gone through some solutions posted in this forum but of no help..I can run my application on debug mode but it is not stopping at the breakpoint and I am not able to see the variables value too.
I see the class files getting compiled under WEB-INF/classes directory though, I am missing 1 important step here, for which I need your help in pointing it out.
Do I need to setup Java Debug VM options somewhere in the latest version of Eclipse 3.3.0? And wat else I need to do to setup debug mode enabled in both JSP and Java files ?
1) You have Build Automatically disabled. The class file is out-of-sync with the source. If your breakpoint (in the source) is on a line that is whitespace, comment, etc. in the class file, the debugger will not stop.
2) You have inadvertantly enabled Skip All Breakpoints in the Breakpoints view. Look at the Breakpoints view for this icon.
Ashok, I don't quite know what is going on here but you seem to be asking the same questions on two threads at the same time. We would prefer you to stick to a single thread, since cross-posting leads to confusion and waste of time.
Unfortunately most of the answers seem to be going to the other thread, the one you hijacked from kartik krishnan. It would have been better if you could have stuck with your own thread instead of jumping in and posting your question on somebody else's thread.
However to me it looks like the kartik krishnan thread is more useful now. So I'm going to close this one.
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop