For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 5 replies, 3 voices, and was last updated 18 years, 11 months ago by
Riyad Kalla.
-
AuthorPosts
-
inastasiMemberHi,
When I try to debug a JSP project with myeclipse 5.5.1GA I cannot inspect/watch/display variables on JSP pages. In same project I can inspect/watch/display some java code.
I see variables tab , and I see all of the variables there, but all of the functions inspect/watch/display are grayed. Can anyone help? Tnx.August 20, 2007 at 11:52 am #274105
Loyal WaterMemberI was unable to reproduce this issue at my end. Can you switch to a brand new workspace, create a new web project, add a simple JSP page to it and try adding break points to it and see if that works.
Let me know if the problem persists.
August 24, 2007 at 5:21 pm #274529
inastasiMemberSorry for the late reply.
No it didn’t help. I try it many times with different parameters. I’m running windows VISTA, forgoth to mention this before.
Anyway,
Tomcat configuration
base/home directory C:\Tomcat 5.5
otional program arguments: -clean -debug
tomcat JDK name: location of jdk folder C:\Program Files\java\jdk….
launch: Debug modeJava version is 1.5.0_07 (it is instaled in “program files” which is kind of protected in vista)
So. The same thing is happaning with my project, also if I create a fresh new Web project.
So let me describe again, i can go to debug mode and I can step trough my *.jsp file, I can set a breakpoint, and it hit breakpoint and stop, I can see tab “variables” where I see the actual value of the primitives (and others but it’s hard to look complex structure this way)
but i cannot watch/inspect not a single expression. In the same project when a servlet is called and I go into servlet java file I can do everything (I can watch/inspect/…etc).Hope this helps a little.
Regards.August 27, 2007 at 12:54 pm #274635
Riyad KallaMemberinastasi,
Would it be possible for you to download our new MyEclipse 6.0 GA release (all in one installer) and install it to a brand new directory and then reopen your existing workspace and retry running your application in our embedded Tomcat server and seeing if everything worked? (Just right-click on project and go to Debug As > MyEclipse Server Application)August 29, 2007 at 2:19 pm #274787
inastasiMemberWell, still no results!
Here is what I did:
I installed MyEclipse 6.0GA which I downloaded from site, and I installed in new directory, no other instance ever before uses this folder.
I START myeclipse (Run as Administrator), and confirm new WORKSPACE in C:\Users\…\Workspace, then I confirm passing through FIREWAL.
I cancel QuickInstall.Then I select File->New->WebProject, and enter project name “_test” and select “Java EE5.0”.
I open a index.jsp in the editor and put a breakpoint at the beging like “String path = request.getContextPath()”
Then right-click on project->DebugAs->MyEclipseServerApplication.
It stops at breakpoint , and everything is same , I can step through file, but no inspect/watch/display ..
Personaly I think that it is part of Problem “Source Not Find” since I seen that message few times…
I also noticed that my settings are left from previous installatons , like windows positioning, and stuff like that …so I think maybe some settings may left that cause this.
Rigards.August 29, 2007 at 3:24 pm #274791
Riyad KallaMemberYou will want to make sure you are using a new workspace, like C:\Users\…\NewWorkspace, and try and name the project something like “TestWebProject”, maybe the underscore is the problem? Not sure…
-
AuthorPosts
