Re: How to run a java test (Junit) in debug mode

2009-11-18 Thread Babu Naidu
Thanks... that worked.. -Babu On Tue, Nov 17, 2009 at 5:30 PM, Rhett Sutphin rh...@detailedbalance.netwrote: Hi Babu, On Nov 17, 2009, at 6:05 PM, Babu Naidu wrote: Sorry for the confusion. I tried with just :java_args, it didn't work for me. However, with JAVA_OPTS setting and

Re: How to run a java test (Junit) in debug mode

2009-11-17 Thread Rhett Sutphin
Hi Babu, On Nov 17, 2009, at 3:30 PM, Babu Naidu wrote: Hi, I have a junit test that I would like to debug, however I am not able to figure out how to pass java debug options to the JVM that runs junit test or test task. For example, I would like to run the junit test with '- Xdebug

Re: How to run a java test (Junit) in debug mode

2009-11-17 Thread Rhett Sutphin
Hi Babu, On Nov 17, 2009, at 6:05 PM, Babu Naidu wrote: Sorry for the confusion. I tried with just :java_args, it didn't work for me. However, with JAVA_OPTS setting and :fork=false works but painful. I am not sure why just :java_args isn't working. I am using JDK 6 on Mac OS. I just