- This topic has 5 replies, 4 voices, and was last updated 18 years, 9 months ago by
Riyad Kalla.
-
AuthorPosts
-
rishikul@yahoo.comMemberUsing My Eclipse i am able to debug Java files, i mean i can add break points in Java code & can add watch etc etc so it possible to debug JSP files using My Eclipse in similar fashion like debugging Java files.
September 10, 2006 at 10:57 am #258303
Riyad KallaMemberYou haven’t given us enough information to go on to see what the problem might be. I would suggest having a look at our FAQ, there are a lot of “How come JSP debugging isn’t working?” types of questions for multiple types of servers.
September 22, 2006 at 10:13 am #259041
dissertMemberI do have the same problem : I can’t use the “Add and Evaluate Watch Expression” in the debugger when using in the JSP. I am using Tomcat 5.0.
I believe but I am not sure that with the former version of MyEclipse, it worked fine, not with 5.0.1September 22, 2006 at 11:32 am #259047
Riyad KallaMemberdissert,
Can you give a little more details? JSP pages, because in compiled/run form, are so different from the source form, simple “watch” expressions may not resolve like you think they will. Can you for example add a watch for “page” or “session” when stopped in a JSP page? If not, what problems are you seeing? Errors or the things always evaluate to null or something else maybe?September 25, 2006 at 5:49 pm #259210
Craig PetersMemberI’m having the same problem too.
“page” and “session” are available automatically on the Variables view. Manually adding either to the Expressions view displays nothing, even after reevaluating the expression. Similarly, trying to see the value of variables in JSP code is doing nothing either.
Another symptom that might be related (?) — every time I add a breakpoint to my JSP code (in Java code areas) I get 2 breakpoints showing up in the Breakpoints view for the same line number. I’ve already relaunched Eclipse with -clean, redeployed my many time to Tomcat (I happen to be using 5.0 by the way), etc…
Its like the others said — you can set breakpoints, and you can step thru the code Ok, but you can’t see any expression/variable values in the debugger.
September 25, 2006 at 6:44 pm #259213
Riyad KallaMembercraigrpeters,
The double breakpoint issue could be causing that problem and we are aware of that problem and hope to get it fixed for the 5.0.3 release. In the mean time I will do some testing on my end and see if I can track down if this is a separate issue or not. -
AuthorPosts