-
1. Re: Step debugging JSP pages
mjdinsmore Aug 31, 2004 11:01 AM (in response to mjdinsmore)I figured I'd mention a big "thank you" since I started this thread a while back. I recently moved my development team to Eclipse 3.x from the 2.x version because many of our useful plig-ins have been ported to the 3.x series by now -- and -- most importantly -- we can now easily step debug our JSPs with the JBossIDE.
I tried it out. Seemed simple enough to setup/install/configure to run. Just had to remember to run the Ant script to move the tomcat5 service archive into the JBoss instance (we're using JBAS 3.2.3) and then turn on JSP compilation Support for the Eclipse project.
Once again, THANKS! -
2. Re: Step debugging JSP pages
letiemble Sep 1, 2004 8:34 AM (in response to mjdinsmore)Hi,
Yes it is planned. See the JBoss-IDE wiki and the roadmap. It is in the next release.
Laurent. -
3. Re: Step debugging JSP pages
p_saville1 Nov 3, 2004 12:54 PM (in response to mjdinsmore)Excellent news.
Looking forward to seeing this feature. KUDOS on the current functionality. -
4. Re: Step debugging JSP pages
letiemble Nov 4, 2004 2:16 AM (in response to mjdinsmore)Hi,
Well, I think this feature is in the 1.4.0 release. I don't remember if it has been tested extensively.
Laurent -
5. Re: Step debugging JSP pages
cdhough Nov 4, 2004 9:10 AM (in response to mjdinsmore)I didn't see anything about JSP debugging in the 1.4 release notes so I assumed it was not included. I am eagerly awaiting this feature so if somebody knows how to use it with the 1.4 release, please let us know.
I think we will learn more about these features once the JBoss IDE roadmap is updated.
- Charley -
6. 3854142
letiemble Nov 4, 2004 11:45 AM (in response to mjdinsmore)Hi,
I have just checked : JSP Debugging is available in JBoss-IDE 1.4.0.
Here are the steps to debug :
- In the project properties, be sure to enable JSP compilation support
- Add the breakpoints in the JSP Files
- Deploy your application to the server if necessary
- If you have launch JBoss inside Eclipse, the Eclipse Debugger is ready. When executing the JSP, the debugger will stop on breakpoints.
You can connect the Eclipse Debugger to a remote server through JPDA interface. This allows to debug JSP inside Tomcat for example.
Laurent. -
7. Re: Step debugging JSP pages
cdhough Nov 5, 2004 5:40 PM (in response to mjdinsmore)Thank you for the instructions Laurent.
By the way, if anyone wants to debug with JBoss 3.2.3, you can integrate tomcat 5 very easily. See the instructions near the bottom of the thread:
http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-1026.html
- Charley -
8. Re: Step debugging JSP pages
jlu1202 Nov 10, 2004 2:03 PM (in response to mjdinsmore)I've just created an environment with Eclipse 3.0.1 and JBoss 4.0/JBoss-IDE 1.4. I am trying to follow Laurent's 11/04/04 reply and running into problems where I can see the JSP files and the generated Java files but can't set break points in either the JSP or the genereated Java files. BTW, the application I created by following the JBossIDE tutorial 1.3 is running correctly and JSP Compilation Support property is set on the Tutorial project.
Any insight would be highly appreciated.
Jim -
9. Re: Step debugging JSP pages
jlu1202 Nov 11, 2004 12:37 AM (in response to mjdinsmore)I now can debug JSP code. Hope I did not waste anybody's time. It had to do with both Lomboz and JBossIDE plug-ins were installed. This kind of mistake tends to be made easily by a newbie like myself having a couple of days of experience with J2EE and trying to go through a sea of information to get a development environment set up. It sure was not a walk in the park, but I finally got the tutorial example (with my own JSP experiment) working! Quite frankly, I have been spoiled by M$'s Visual IDE and was trying to check out J2EE/JBoss, and man, I'm impressed. Hats off to people who worked on JBoss and Eclipse coz they rock!
Jim -
10. Re: Step debugging JSP pages
dx_ei Nov 24, 2004 9:57 AM (in response to mjdinsmore)"jlu1202" wrote:
I now can debug JSP code.
I can't :(
I have installed the JBoss IDE according to the tutorial instructions in http://www.devx.com/opensource/Article/20242/0/page/1. I can debug the HelloWorldServlet, but no additional helloworld.jsp page within the same project.
- I'm using Eclipse 3.0.1 and JBoss IDE 1.4.0 and local JBoss 4.0.0.
- I have checked the JBoss compilation support on.
- When triggering Compile JSP, nothing happens. Something just flashes in the Progress view.
- The JBoss IDE doesn't seem to be able to compile the JSP pages at all. At least there are no errors detected. The JSP page was added from the JBoss-IDE Web Components
- The IDE doesn't allow me to put any breakpoints in the JSP. It just seems that it considers the file as ordinary text file, with no compilation support at all.
- I've also tried Lomboz on top of the JBoss IDE, but I'm not sure have they planned to work together.
Any advices or sources where to look for help? -
11. Re: Step debugging JSP pages
mikek753 Dec 1, 2004 6:57 PM (in response to mjdinsmore)JSP support doesn't work for me
Do I need to install any extra plugins to be able use JSP with coding support as it work in java files (Ctrl-mouse and etc.) and tag support? What else I need to be able step debuggin JSP?
thanks.
Michael -
12. Re: Step debugging JSP pages
cdhough Dec 7, 2004 2:10 PM (in response to mjdinsmore)I cannot get the jsp debugging to work either. At one point I could set breakpoints and the debugger would even stop at them but it would not recognize my source code. I could not get the code assist to work in the jsp either.
- Charley -
13. Re: Step debugging JSP pages
nidget Dec 8, 2004 11:10 AM (in response to mjdinsmore)"dx_ei@hotmail.com" wrote:
"jlu1202" wrote:
I now can debug JSP code.
I can't :(
I have installed the JBoss IDE according to the tutorial instructions in http://www.devx.com/opensource/Article/20242/0/page/1. I can debug the HelloWorldServlet, but no additional helloworld.jsp page within the same project.
- I'm using Eclipse 3.0.1 and JBoss IDE 1.4.0 and local JBoss 4.0.0.
- I have checked the JBoss compilation support on.
- When triggering Compile JSP, nothing happens. Something just flashes in the Progress view.
- The JBoss IDE doesn't seem to be able to compile the JSP pages at all. At least there are no errors detected. The JSP page was added from the JBoss-IDE Web Components
- The IDE doesn't allow me to put any breakpoints in the JSP. It just seems that it considers the file as ordinary text file, with no compilation support at all.
I have exactly the same behaviour. I'm also using Eclipse 3.0.1 and JBoss IDE 1.4.0, but JBoss AS 4.0.1RC2 -
14. Re: Step debugging JSP pages
garu1gsr Mar 4, 2005 12:06 AM (in response to mjdinsmore)I am having the same problem anyone out there who got the jsp debug work successfully with...
jbosside 1.4
jboss 3.2.6
eclipse 3.0.1
Thanks