(Answer) (Category) FAQ-O-Matic : (Category) JBuilder 4 General :
How do I debug JSP code in running in something besides Tomcat?
Josh Fletcher of Borland writes:
Yes, it is possible but it is not a supported JBuilder feature. We have to write a special plugin for each JSP host in order for this to work since each server handles the JSP mapping-to-a-servlet differently.

Currently we only have a plugin for Tomcat. If you want to debug your JSP in any other server you can try this (note, you will need JBuilder Enterprise):

  1. Start the Web/App Server in debug mode. 
  2. Exercise the JSP so that the server will create the Java bean. Make 
     sure the bean is generated with debug information included. Be sure to 
     keep the generated Java source. 
  3. Add the generated Java source to your JBuilder project. 
  4. Set breakpoints in the source. 
  5. Enable remote debugging in JBuilder. 
  6. Debug the JSP bean (right-click, select debug, NOT Web debug), which 
     will cause JBuilder to attach to the Web/App Server. 
  7. Exercise the Bean again. JBuilder should stop on your breakpoints. 

This technique is known to work in many situations but is, of course, not guaranteed to work. Feel free to try it though.

Thanks, Josh

  http://www.mers.com/MERLIST/BORLAND/PUBLIC/JBUILDER/DEBUGGER/2566.HTML

2001-Jan-08 11:51am gyles19@visi.com
See also this Borland FAQ entry:
  http://community.borland.com/article/0,1410,27021,00.html

2001-Mar-30 3:31pm gyles19@visi.com
[Append to This Answer]
2001-Mar-30 3:31pm
Previous: (Answer) How can I disable the automatic copying of resource files from src to classes?
Next: (Answer) I just installed Enterprise but all the good stuff is greyed out like in Foundation!
This document is: http://www.visi.com/~gyles19/cgi-bin/fom.cgi?file=37
[Search] [Appearance]
This is a Faq-O-Matic 2.709.
This FAQ administered by gyles19@visi.com.

Other JBuilder Links

Java Community
Java Tools
Code Central
JB OpenTools
Community
Recent
Threads
Borland Chat
Chat FAQ
Feature Matrices
3.0 |  3.5 |  4.0
5.0 |  6.0 |  7.0
Shop for
JBuilder
JBuilder
Downloads
and reg keys
Report Piracy
Online Manuals
4.0 |  5.0 |  6.0
7.0
Borland
DevSupport's
Bug/RFE Form

Quality Central Client
JB Patches &
Updates
JBuilder FAQs TIs
JBuilder
Newsgroups
Tamaracka's
News Archive
Mr. Haki's
JBuilder Machine
JGuru's
JBuilder FAQ
Sun's Bug
Parade
Netring Home - About - Privacy
The
JBuilder Netring Logo
The Borland JBuilder Netring by JBuilder FAQ-O-Matic
[ Join Now | List Sites | Random | << Prev | Next >> ]
[ Previous 5 Sites | Skip Previous | Skip Next | Next 5 Sites ]