« Return to Thread: Debug problems with NB 6.5 and maven 2

Debug problems with NB 6.5 and maven 2

by Zoltan Farkas-2 :: Rate this Message:

Reply to Author | View in Thread

I am new to m2/nb5 combination, and I have some problems getting debug working.
 
I am trying to debug a unit test and I am running it with: "debug test"
 
here is the output:
 
NetBeans: JPDA Listening Start...
JPDA Address: z:52116
Port:52116
NetBeans: Executing '/opt/apache-maven-2.0.9/bin/mvn -Djpda.listen=true -Djpda.stopclass=MyClassName -Djpda.address=52116 -DargLine=-Xdebug -Djava.compiler=none -Xnoagent -Xrunjdwp:transport=dt_socket,server=localhost,address=52116 -DforkMode=once -Dtest=EventExpertProcessorTest test-compile surefire:test'
NetBeans:      JAVA_HOME =/usr/java
......
 
The debugger console displays: Listening on 52116
 
However I never see the debugger attaching to the process ....
 
Am I missing something? I had no problems doing this with M1/nb5.5
 
thanks
 
--zoly

 « Return to Thread: Debug problems with NB 6.5 and maven 2