- This topic has 7 replies, 3 voices, and was last updated 20 years, 11 months ago by
Riyad Kalla.
-
AuthorPosts
-
nsongMemberHi.
I’m using Eclipse RC1 with MyEclipse 3.8 beta and Tomcat 5.025 on Windows 2000 Pro. I’ve set the application server in Prefs->MyEclilpse->App Servers to launch in debug mode. However, when I deploy the web module, and then start the server in the IDE, it doesn’t switch to the debug view, and seems to launch the server in run mode. So I’m unable to debug my JSP files.
My other question is whether the plugin propagates variable for includes. For example, in start.jsp, I have:
…
<% List myList = new ArrayList() %>
<%@ include file=”nav.jsp” %>
…and in nav.jsp:
<%= myList.get(0) %>
It reports that it cannot resolve the variable myList. Not really a big deal, but it’s a little annoying mixing these as errors with real errors in the Problems window.
Other than that, the plugins has worked great for me. Thanks.
Riyad KallaMemberAs far as the running of the App Server is concerned, if you set breakpoints in any servlets or JSPs, do ANY of the breakpoints get hit?
Can you downgrade to the latest stable Tomcat (5.0.24 I believe).
As far as the include is concerned, let me ask.
Scott AndersonParticipantIt reports that it cannot resolve the variable myList. Not really a big deal, but it’s a little annoying mixing these as errors with real errors in the Problems window.
For JSP’s that are fragments and not fully compliant top-level JSP’s in their own right, naming them as the spec suggests, with a .jspf extension, will keep the errors from being reported.
nsongMemberAs far as the running of the App Server is concerned, if you set breakpoints in any servlets or JSPs, do ANY of the breakpoints get hit?
Can you downgrade to the latest stable Tomcat (5.0.24 I believe).
I downgraded to Tomcat 5.0.24, same problem. I’m wondering if this is actually an Eclipse problem rather than Tomcat. Also, the breakpoints don’t do anything since there is no preview window in debug mode, so it won’t load the application into the debugger. There doesn’t seem to be a way to manually add the view to the debugger either (aside from the Browser view).
Riyad KallaMemberAlso, the breakpoints don’t do anything since there is no preview window in debug mode, so it won’t load the application into the debugger.
I’m not sure what you are getting at here… once you start your app server just load up any browser you have on your system and access your application to try and excercise it so the breakpoints are hit.
nsongMemberSorry, that was poorly worded on my part. I tried the application in the browser preview view provided with the plugin. It did not stop at the breakpoints I set however. I also tried in Mozilla on my desktop and same result.
nsongMemberOkay, the problem went away after I reinstalled Eclipse and the plugin. Not sure what was happening, but debuggin works now. Thanks for the help.
Riyad KallaMemberI tried the application in the browser preview view provided with the plugin.
Ahh, gotcha.
Okay, the problem went away after I reinstalled Eclipse and the plugin.
Odd… well we are glad its working!
-
AuthorPosts