acoliver 2002/11/24 12:25:02
Modified: xdocs/site idedevelopers.xml
docs/site idedevelopers.html
Log:
instructions for setting up your ide for remote debugging
Revision Changes Path
1.3 +25 -0 jakarta-site/xdocs/site/idedevelopers.xml
Index: idedevelopers.xml
===================================================================
RCS file: /home/cvs/jakarta-site/xdocs/site/idedevelopers.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- idedevelopers.xml 24 Nov 2002 19:32:51 -0000 1.2
+++ idedevelopers.xml 24 Nov 2002 20:25:02 -0000 1.3
@@ -133,5 +133,30 @@
support for CVS built in.
</p>
</section>
+ <section title="Debugging">
+ <p>
+ A frequent question asked is "How do I get all these classes loaded into
+ [name of IDE usually JBuilder] to run them in the debugger?" The answer
+ is often: you don't. This certainly might make sense for apps or applets,
+ but most applications these days are run in a servlet engine or other
+ container such as <a href="http://jakarta.apache.org/avalon/phoenix/index.html">Phoenix</a>.
For these: you set the sourcepath, you put the binaries in the classpath
+ but you debug the code remotely. Meaning the code runs in tomcat or
+ whatever and you run the debugger against it. Modern IDEs such as
+ <a href="http://www.eclipse.org">Eclipse</a> when running against
+ JDK 1.4.x or later can even change the code at runtime while debugging!
+ </p>
+ <p>
+ It does generally involve editing shell scripts or batch files which can
+ be difficult for the IDE developer to commit to, but once you do, its
+ basically over with. These instructions will assume you're running
+ <a href="http://jakarta.apache.org/tomcat">Tomcat 4.1.12</a> or similar
+ (meaning its doubtful that 4.1.13 will be different but 5.0 very well
+ might be) on Windows 2000 or similar.
+ </p>
+ <ul>
+ <li><a href="idedev-rdtomcat.html">Setting up Tomcat for remote debugging</a>
Start Here</li>
+ <li><a href="idedev-rdeclipse.html">Setting up Eclipse for remote debugging</a>
Continue here if using Eclipse</li>
+ </ul>
+ </section>
</body>
</document>
1.3 +36 -0 jakarta-site/docs/site/idedevelopers.html
Index: idedevelopers.html
===================================================================
RCS file: /home/cvs/jakarta-site/docs/site/idedevelopers.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- idedevelopers.html 24 Nov 2002 19:32:31 -0000 1.2
+++ idedevelopers.html 24 Nov 2002 20:25:02 -0000 1.3
@@ -313,6 +313,42 @@
</td></tr>
<tr><td><br/></td></tr>
</table>
+ <table border="0" cellspacing="0" cellpadding="2"
width="100%">
+ <tr><td bgcolor="#525D76">
+ <font color="#ffffff" face="arial,helvetica,sanserif">
+ <a name="$section.getAttributeValue("name")"><strong>$section.getAttributeValue("name")</strong></a>
+ </font>
+ </td></tr>
+ <tr><td>
+ <blockquote>
+ <p>
+ A frequent question asked is "How do I get all these classes loaded into
+ [name of IDE usually JBuilder] to run them in the debugger?" The answer
+ is often: you don't. This certainly might make sense for apps or applets,
+ but most applications these days are run in a servlet engine or other
+ container such as <a href="http://jakarta.apache.org/avalon/phoenix/index.html">Phoenix</a>.
For these: you set the sourcepath, you put the binaries in the classpath
+ but you debug the code remotely. Meaning the code runs in tomcat or
+ whatever and you run the debugger against it. Modern IDEs such as
+ <a href="http://www.eclipse.org">Eclipse</a> when running against
+ JDK 1.4.x or later can even change the code at runtime while debugging!
+ </p>
+ <p>
+ It does generally involve editing shell scripts or batch files which can
+ be difficult for the IDE developer to commit to, but once you do, its
+ basically over with. These instructions will assume you're running
+ <a href="http://jakarta.apache.org/tomcat">Tomcat 4.1.12</a> or similar
+ (meaning its doubtful that 4.1.13 will be different but 5.0 very well
+ might be) on Windows 2000 or similar.
+ </p>
+ <ul>
+ <li><a href="idedev-rdtomcat.html">Setting up Tomcat for remote debugging</a>
Start Here</li>
+ <li><a href="idedev-rdeclipse.html">Setting up Eclipse for remote debugging</a>
Continue here if using Eclipse</li>
+ </ul>
+ </blockquote>
+ </p>
+ </td></tr>
+ <tr><td><br/></td></tr>
+ </table>
</td>
</tr>
--
To unsubscribe, e-mail: <mailto:site-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:site-cvs-help@jakarta.apache.org>
|