[mevenide-user] Debug problems with NB 6.5 and maven 2
"Zoltan Farkas" <[email protected]> Thu, 18 Dec 2008 13:14:15 -0600
| Newsgroups | gmane.comp.jakarta.turbine.maven.mevenide.user |
|---|---|
| Message-ID | <A483EB3CA9C69D41AEC537D1C7C2CAFF0344536E@34093-C3-EVS2.exchange.rackspace.com> |
------_=_NextPart_001_01C96145.02924A03 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I am new to m2/nb5 combination, and I have some problems getting debug working. =20 I am trying to debug a unit test and I am running it with: "debug test" =20 here is the output: =20 NetBeans: JPDA Listening Start... JPDA Address: z:52116 Port:52116 NetBeans: Executing '/opt/apache-maven-2.0.9/bin/mvn = -Djpda.listen=3Dtrue -Djpda.stopclass=3DMyClassName -Djpda.address=3D52116 = -DargLine=3D-Xdebug -Djava.compiler=3Dnone -Xnoagent -Xrunjdwp:transport=3Ddt_socket,server=3Dlocalhost,address=3D52116 -DforkMode=3Donce -Dtest=3DEventExpertProcessorTest test-compile surefire:test' NetBeans: JAVA_HOME =3D/usr/java ...... =20 The debugger console displays: Listening on 52116 =20 However I never see the debugger attaching to the process .... =20 Am I missing something? I had no problems doing this with M1/nb5.5 =20 thanks =20 --zoly ------_=_NextPart_001_01C96145.02924A03 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <META content=3D"MSHTML 6.00.2900.2180" name=3DGENERATOR></HEAD> <BODY> <DIV><SPAN class=3D862420819-18122008><FONT face=3DArial size=3D2>I am = new to m2/nb5=20 combination, and I have some problems getting debug = working.</FONT></SPAN></DIV> <DIV><SPAN class=3D862420819-18122008><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D862420819-18122008><FONT face=3DArial size=3D2>I am = trying to debug=20 a unit test and I am running it with: "debug test"</FONT></SPAN></DIV> <DIV><SPAN class=3D862420819-18122008><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D862420819-18122008><FONT face=3DArial size=3D2>here = is the=20 output:</FONT></SPAN></DIV> <DIV><SPAN class=3D862420819-18122008><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D862420819-18122008><FONT face=3DArial = size=3D2>NetBeans: JPDA=20 Listening Start...<BR>JPDA Address: z:52116<BR>Port:52116<BR>NetBeans: = Executing=20 '/opt/apache-maven-2.0.9/bin/mvn -Djpda.listen=3Dtrue = -Djpda.stopclass=3DMyClassName=20 -Djpda.address=3D52116 -DargLine=3D-Xdebug -Djava.compiler=3Dnone = -Xnoagent=20 -Xrunjdwp:transport=3Ddt_socket,server=3Dlocalhost,address=3D52116 = -DforkMode=3Donce=20 -Dtest=3DEventExpertProcessorTest test-compile=20 surefire:test'<BR>NetBeans: JAVA_HOME=20 =3D/usr/java</FONT></SPAN></DIV> <DIV><SPAN class=3D862420819-18122008><FONT face=3DArial=20 size=3D2>......</FONT></SPAN></DIV> <DIV><SPAN class=3D862420819-18122008><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D862420819-18122008><FONT face=3DArial size=3D2>The = debugger console=20 displays: Listening on 52116</FONT></SPAN></DIV> <DIV><SPAN class=3D862420819-18122008><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D862420819-18122008><FONT face=3DArial = size=3D2>However I never see=20 the debugger attaching to the process ....</FONT></SPAN></DIV> <DIV><SPAN class=3D862420819-18122008><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D862420819-18122008><FONT face=3DArial size=3D2>Am I = missing=20 something? I had no problems doing this with = M1/nb5.5</FONT></SPAN></DIV> <DIV><SPAN class=3D862420819-18122008><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D862420819-18122008><FONT face=3DArial=20 size=3D2>thanks</FONT></SPAN></DIV> <DIV><SPAN class=3D862420819-18122008><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D862420819-18122008><FONT face=3DArial=20 size=3D2>--zoly</FONT></SPAN></DIV></BODY></HTML> ------_=_NextPart_001_01C96145.02924A03--