You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by Richard Slide <ri...@gmail.com> on 2008/03/25 22:07:01 UTC
debug continuum with eclipse
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
Re: debug continuum with eclipse
Posted by Olivier Lamy <ol...@apache.org>.
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 <ri...@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 <ol...@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 <ri...@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
> > >
> >
>
Re: debug continuum with eclipse
Posted by Richard Slide <ri...@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 <ol...@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 <ri...@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
> >
>
Re: debug continuum with eclipse
Posted by Olivier Lamy <ol...@apache.org>.
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 <ri...@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
>