jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gili <cow...@bbs.darktech.org>
Subject Re: How to launch cactus in debug mode in eclipse?
Date Fri, 20 May 2005 18:01:45 GMT

	Unfortunately these two questions are beyond my knowledge. Hopefully 
others on this mailing list will know the answer.

Gili

Anagnost, Ted wrote:
> Thanks so much for your help Gili.
> 
> The link you referred me to seems to describe how to modify the cactus task.
> But I just want to set a property since
> I'm running cactus from Maven  - I don't really have a cactus task element
> available to modify.  Question 1. Can I just set the output property from
> build.properties?
> 
> Debug mode:  I was using cactus.tomcat5x.jvmArgs=-Xdebug
> -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
> which seems to work ok, except maven does not run eclipse in remote debug
> mode so I had to create a separate remote debug launcher to connect to
> tomcat after it gets started by cactus.  Question 2.  Do you know how to use
> maven/cactus to tell eclipse to remote debug the tests that it runs?
> 
> Ted
> 
> 
> -----Original Message-----
> From: Gili [mailto:cowwoc@bbs.darktech.org] 
> Sent: Friday, May 20, 2005 12:05 PM
> To: Cactus Users List
> Subject: Re: How to launch cactus in debug mode in eclipse?
> 
> http://jakarta.apache.org/cactus/integration/ant/task_cactus.html#tomcat5x
> 
> 	use the "jvmArgs" argument.
> 
> Gili
> 
> Anagnost, Ted wrote:
> 
>>I'd like to debug my test methods in eclipse but I'm not sure how to 
>>tell cactus (maven) to start in remote debug mode.
>>
>>I'm doing this right now:
>>
>> mevenide:test-debug cactus:test
>>While setting: JAVA_OPTS=-Xdebug
>>-Xrunjdwp:server=y,transport=dt_socket,address=8000,suspend=n
>>
>>But it doesn't stop at any break points.
>>
>>
>>Can anyone point me to a page that shows how to do it step by step?
>>
>>Ted
>>
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> 
> 
> 

Mime
View raw message