- This topic has 7 replies, 3 voices, and was last updated 21 years, 5 months ago by
support-michael.
-
AuthorPosts
-
rjfhendriksMemberHi
Hi trying to get the JSP debugger to work on W2000, JDK1.4.2, Eclipse 2.1.0 200303272130, MyEclipse 2.6.2 and TomCat 5.0.12.
I followed the manual (Web Development Tutoral – Part 2) and set a breakpoint at a out.println() but the JSP doesn’t stop. There no check at the breakpoint too. Can I check something “under water” to see if there’s something wrong?
Scott AndersonParticipantThe first place to look for anything is the Eclipse log file, located at <workspace>/.metadata/.log. Are you positive that you’re launching Tomcat with JDK 1.4.2 (Window > Preferences > MyEclipse > AppServers > Tomcat 5 > JDK.
The next thing to try is generating a default JSP using the JSP wizard into your application and setting a breakpoint on one of the first two lines of Java. Is that breakpoint hit?
Are there any other external plugins installed? How many plugins begin with org.eclipse.pde.* in the plugins directory?
–Scott
MyEclipse Support
rjfhendriksMemberAfter rebooting my PC I know see a check with the breakpoint but if I start a debug session the browser seems too hang and the Eclipse session doesn’t show anything either.
I found another post about this one but no answer with it ;(. I’m sure i’m using JDK 142 and have 6 org.eclipse.pde.* plus a org.eclipse.pde_210 directory.
Maybe its the following plugin that causes the trouble? fr.helloworld.eclipse.resin >> The debug from java itself did work for this one (before the installation of myeclipse) but not anymore (i have to pause resume too go on and eclipse doesn’t show anything).
rjfhendriksMember— notify on
rjfhendriksMemberI removed the resin plugin bus this doesn’t seem to work either. Now the checkbox is gone with the breakpoint (i’m using the myeclipse jsp editor). I can even change the code and rerun but no break appears. This is my startup command:
C:\j2sdk1.4.2\bin\javaw.exe -Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat 5.0 -Dcatalina.base=C:\Program Files\Apache Software Foundation\Tomcat 5.0 -Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\Tomcat 5.0/bin;C:\Program Files\Apache Software Foundation\Tomcat 5.0/common/endorsed -Djava.io.tmpdir=C:\Program Files\Apache Software Foundation\Tomcat 5.0\temp -Djava.library.path=C:\j2sdk1.4.2\bin;C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin -classpath C:\Program Files\Apache Software Foundation\Tomcat 5.0/bin/bootstrap.jar;C:\j2sdk1.4.2/lib/tools.jar -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,suspend=y,address=localhost:12141 org.apache.catalina.startup.Bootstrap start
rjfhendriksMemberNo succes with Jetty5 either.
support-michaelKeymasterCan you check your Eclipse error log for unusual errors? See the file at <workbench>/.metadata/.log.
Michael
MyEclipse Support
support-michaelKeymasterCan you check your Eclipse error log for unusual errors? See the file at <workbench>/.metadata/.log.
Michael
MyEclipse Support -
AuthorPosts