Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » How to set up JSP/Javabean debugging in Eclipse Java EE for Web Developers (breakpoints and values not active with JSP debugging )
How to set up JSP/Javabean debugging in Eclipse Java EE for Web Developers [message #507486] Wed, 13 January 2010 11:30 Go to previous message
MB  is currently offline MB
Messages: 17
Registered: January 2010
Junior Member
I have downloaded and installed "Eclipse Java EE for Web Developers" with WTP 1.1.3. I have set up my MySQL 5.x with the Data tools and I have sucessfully made a db connection in a simple jsp file so I know my database is valid and working. I can also reach the MySQL database from the Datasource explorer.

However, even after setting up Tomcat under "Debug Configurations" with the information found under "How can I debug with the Java source that Tomcat creates for a JSP?" in the WTP Tomcat FAQ: http://wiki.eclipse.org/WTP_Tomcat_FAQ and setting breakpoints only with within the JSP tags: <% and %>, the execution still doesn't stop at my set breakpoints nor can I see any variable values or ArrayLists values. This is making it hard for me to see where in the process my problem lies. Currently this is an IndexOutOfBoundsException.

I have tried to halt the VM and not and also tried to set the environment variables JPDA_ADDRESS=8000 and JPDA_TRANSPORT=dt_socket and then start up tomcat using "catalina jpda start" as said in the Tomcat Wiki. about "remote debugging" which I suppose is my case even if I'm on the same machine. With this I got errors during startup but Tomcat executed my pages (with the same errors obviously)  

How do I set up Tomcat 5.5.x so that my breakpoints are active and so that I can see my variables?

I'm on Mac OS X 10.5.8 with JVM1.5.0.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Can multiple contexts be associated with a single Dynamic Web Project?
Next Topic:web sphere directory structure
Goto Forum:
  


Current Time: Tue Jun 18 01:46:30 EDT 2013

Powered by FUDForum. Page generated in 0.01856 seconds