| Author |
Remote debugging in JBuilder (Tomcat)
|
Mike London
Ranch Hand
Joined: Jul 12, 2002
Posts: 948
|
|
Has anybody set up JBuilder Enterprise to do remote debugging of JSP/Bean/etc. code in Tomcat? Any ideas on how to set this up? Thanks in advance. - Mike
|
 |
Cindy Glass
"The Hood"
Sheriff
Joined: Sep 29, 2000
Posts: 8521
|
|
|
Moving to the IDE forum.
|
"JavaRanch, where the deer and the Certified play" - David O'Meara
|
 |
Michael Bronshteyn
Ranch Hand
Joined: Mar 26, 2002
Posts: 85
|
|
Remote debugging with JBuilder is a pain in the neck. I would suggest BugSeeker, which is cheaper than JBuilder Enterprise and much much better. To setup tomcat modifoy tomcat.bat ( .sh ) in the way that it can accept remote connection from debugger: %_STARTJAVA% -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n %TOMCAT_OPTS% -Dtomcat.home="%TOMCAT_HOME%" org.apache.tomcat.startup.Tomcat %2 %3 %4 %5 %6 %7 %8 %9 in the example above tomcat is going to start and accept socket connection on port 8000. You will also need to setup your remote debugging project in JBuilder. Again, if you would decide to use BugSeeker, you will be able to choose remote debugging project and specify host name where your debug tomcat is running and port. good luck.
|
Michael
SCJP2
|
 |
 |
|
|
subject: Remote debugging in JBuilder (Tomcat)
|
|
|