tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33692] New: - Update for: "How do I remotely debug Tomcat using NetBeans?"
Date Tue, 22 Feb 2005 15:41:18 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33692>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33692

           Summary: Update for: "How do I remotely debug Tomcat using
                    NetBeans?"
           Product: Tomcat 5
           Version: Unknown
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Webapps:Documentation
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: Geertjan.Wielenga@Sun.COM


This page is out of date for NetBeans IDE:
http://jakarta.apache.org/tomcat/faq/development.html#rd-netbeans

The question should be: "How do I remotely debug Tomcat using NetBeans IDE?"

This is what the answer should be for "How do I remotely debug Tomcat using
NetBeans IDE?":

This answer assumes that you have correctly set up a NetBeans IDE project and
that you know how to use its debugger. If not, please go to
http://www.netbeans.org/kb/using-netbeans/40/debug.html and read up on how to
use NetBeans IDE and its debugger.

Make sure that Tomcat is started, that your application is deployed, and that
the sources are all defined as resources in your application. If you have a
servlet or JSP file, set a breakpoint where its sure to hit on the next request.
Go to "Run->Attach Debugger". A dialog pops up to let you specify the following
options:

    * Debugger: JPDA Debugger
    * Connector: SocketAttach
    * Host: The IP address of the host your Tomcat installation is running on
(127.0.0.1 if it is your local machine).
    * Port: The port of your Tomcat debugging interface, which should be 8000 if
you've followed the instructions above.

When you press OK, you have a debugging connection very similar to local debugging.

Note that NetBeans IDE has a second option -- you can debug JSP files and
servlets locally using a Tomcat server that is bundled with the IDE. The bundled
Tomcat server can be started in debug mode (its default port number is 11555)
and you can open a remote connection to it from NetBeans IDE as described above.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message