continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wsm...@apache.org
Subject svn commit: r721330 - in /continuum/site/src/site/apt: development/debug.apt guide-helping.apt
Date Fri, 28 Nov 2008 03:36:09 GMT
Author: wsmoak
Date: Thu Nov 27 19:36:09 2008
New Revision: 721330

URL: http://svn.apache.org/viewvc?rev=721330&view=rev
Log:
Add information on debugging Continuum with Jetty and IDEA.

Added:
    continuum/site/src/site/apt/development/debug.apt
Modified:
    continuum/site/src/site/apt/guide-helping.apt

Added: continuum/site/src/site/apt/development/debug.apt
URL: http://svn.apache.org/viewvc/continuum/site/src/site/apt/development/debug.apt?rev=721330&view=auto
==============================================================================
--- continuum/site/src/site/apt/development/debug.apt (added)
+++ continuum/site/src/site/apt/development/debug.apt Thu Nov 27 19:36:09 2008
@@ -0,0 +1,39 @@
+ -----
+ Debugging Continuum
+ -----
+
+Debugging Continuum
+
+ This document will help you get set up to step through the Continuum source code
+ for debugging.
+
+ First, follow the instructions to check out and build the Continuum source code.
+
+ Then, use the convenience 'mvnDebug' script to start the Continuum webapp on port 9090 with
debugging enabled:
+
++-----+
+cd /path/to/svn/checkouts/continuum/continuum/continuum-webapp
+mvnDebug jetty:run
++-----+
+
+ By default, it will suspend and wait for you to connect on port 8000.
+
+ Now connect to the running instance with your debugger.
+
+ For example, in Intellij IDEA:
+
+ Run -> Edit Configurations
+
+ Press the '+' button to add a Configuration, and choose Remote
+
+ Give it a name, change the port to 8000, and save
+
+ To connect, choose Tools -> Run Debug,
+ (or select your Configuration from the drop-down in the toolbar and click the Debug icon
next to it.)
+
+ To see what's happening behind the scenes, set a breakpoint in one of the Action classes,
which you'll find under
+ src/main/java in the continuum-webapp module.
+
+ Then visit http://localhost:9090 and navigate through the webapp until you hit the breakpoint
and your debugger takes
+ over.
+ 
\ No newline at end of file

Modified: continuum/site/src/site/apt/guide-helping.apt
URL: http://svn.apache.org/viewvc/continuum/site/src/site/apt/guide-helping.apt?rev=721330&r1=721329&r2=721330&view=diff
==============================================================================
--- continuum/site/src/site/apt/guide-helping.apt (original)
+++ continuum/site/src/site/apt/guide-helping.apt Thu Nov 27 19:36:09 2008
@@ -65,6 +65,10 @@
 
   * {{{development/release.html}Release Process & Guidelines}}
 
+Resources for contributors
+
+  * {{{development/debug.html}Debugging Continuum}}
+
 Resources for committers
 
   * {{{http://www.apache.org/dev/} Developer Resources}}



Mime
View raw message