continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olivier Lamy" <ol...@apache.org>
Subject Re: debug continuum with eclipse
Date Wed, 26 Mar 2008 21:04:48 GMT
Have a look at surefire configuration in the webapp pom. (tests are
skipped ;-) )

In the webapp, use mvnDebug jetty:run.

--
Olivier

2008/3/26, Richard Slide <richard.slide@gmail.com>:
> Hello,
>
>  I try to debug webapp part with mvnDebug.
>
>  This what i do :
>
>  1: I go  D:\continuum\trunk\continuum-webapp
>  2: mvnDebug install and the jvm  listen to port 8000
>  3: Lunch eclipse debugger to attach to 8000 and put break point in all
>  method of TestAction.
>
>  but my eclipe doesn't stop to the break point why ?
>
>  the project the i configure in eclipse is continuum-webapp
>
>  thanks for help
>
>  --Richard
>
>
>
>
>
>
>
>  On Tue, Mar 25, 2008 at 11:26 PM, Olivier Lamy <olamy@apache.org> wrote:
>
>  > Hi,
>  > With the current trunk, you can debug a junit with the following cli :
>  > mvn test -Dtest=unitName -Dmaven.surefire.debug=true (you can here
>  > attach a debugger on port 5005).
>  >
>  > In order to debug, the webapp part, you can run mvnDebug (with mvn
>  > 2.0.8) and attach a debuuger on port 60001).
>  >
>  > Or you can install the war in tomcat and launch in
>  > $CATALINA_HOME/bin/catalina.sh jpda start (attach a debugger on port
>  > 8000).
>  >
>  > --
>  > Olivier
>  >
>  > 2008/3/25, Richard Slide <richard.slide@gmail.com>:
>  > > Hello,
>  > >  I'd like to use Eclipse debugger with continuum,
>  > >  Is Its possible ?
>  > >
>  > >  I have import the trunk in eclipse work space and all is OK, but if i
>  > want
>  > >  to load webapp on test server and then start debug I have some
>  > problem...
>  > >
>  > >  How can i do it ?
>  > >
>  > >
>  > >  Thanks for Help
>  > >
>  > >
>  > >  --Richard
>  > >
>  >
>

Mime
View raw message