For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 3 replies, 2 voices, and was last updated 18 years, 3 months ago by
Loyal Water.
-
AuthorPosts
-
juju42MemberHello,
I just started using MyEclipse to debug an existing JSP project. I don’t know much about it, nor about Java. They brought me in to be an independent auditor with a fresh perspective. Well, I’m so fresh I’m clueless.
My dilemma: I can’t step through the JSP project using MyEclipse. I open index.jsp, then I choose Run, Debug As. My only choice at this point is JavaScript Application, which doesn’t seem right. If I choose that, it says “You have chosen to debug a JavaScript Application using a non-HTML file. For this file to work correctly you most likely need to modify the URL field…” I say OK, on next screen I take the defaults and click “Debug”. It puts me in Web 2.0 perspective, but the Browser tab just shows the code, doesn’t interpret it. And nothing seems to be happening, i.e., the program isn’t running.
Question: If Tomcat runs on a Linux server and I have MyEclipse running on a Windows machine on the same network, should I be able to step through / debug? Or do I need a stand-alone project?
Another question: Do I need the JSP plug-in for MyEclipse to step through a JSP? How can I tell if this plug-in is installed?
Thanks very much.
MyEclipse Installation Summary Info:
*** Date:Tuesday, May 13, 2008 10:03:18 AM PDT
** System properties:
OS=Windows2000
OS version=5.0
Java version=1.5.0_08*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 5.1.1 GA
Build id: 20070302-5.1.1-GA*** Eclipse details:
MyEclipse Enterprise Workbench
Version: 5.1.1 GA
Build id: 20070302-5.1.1-GAEclipse Graphical Editing Framework
Version: 3.2.2.v20070208
Build id: 20070208-1315Eclipse Platform
Version: 3.2.2.r322_v20070119-RQghndJN8IM0MsK
Build id: M20070212-1330Eclipse RCP
Version: 3.2.2.r322_v20070104-8pcviKVqd8J7C1U
Build id: M20070212-1330Eclipse Java Development Tools
Version: 3.2.2.r322_v20070104-R4CR0Znkvtfjv9-
Build id: M20070212-1330Eclipse Project SDK
Version: 3.2.2.r322_v20070104-dCGKm0Ln38lm-8s
Build id: M20070212-1330Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
L:\Program Files\MyEclipse 5.1.1 GA\eclipse\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
3bc_54
-vm
L:\Program Files\MyEclipse 5.1.1 GA\jre\bin\javaw.exeMay 13, 2008 at 3:01 pm #284966
Loyal WaterMemberQuestion: If Tomcat runs on a Linux server and I have MyEclipse running on a Windows machine on the same network, should I be able to step through / debug? Or do I need a stand-alone project?
Remote debugging is possible using MyEclipse:-
http://www.myeclipseide.com/documentation/quickstarts/remotedebugging/Another question: Do I need the JSP plug-in for MyEclipse to step through a JSP? How can I tell if this plug-in is installed?
You dont need any additional plugin. Did you take a look at the JSP debugging section in the following tutorial ?
http://www.myeclipseide.com/documentation/quickstarts/webprojects/#jsp_debuggingMay 14, 2008 at 9:12 am #284976
juju42MemberAwesome! Thank you so very much for your quick response. I now have some good news to tell my customer.
I will take a look at both of those documents – I really appreciate the direction and help.
May 14, 2008 at 9:48 am #284979
Loyal WaterMemberYour welcome.
-
AuthorPosts
