Re: [mevenide-user] Debug problems with NB 6.5 and maven 2
"Laurent ForĂȘt" <[email protected]> Wed, 7 Jan 2009 23:10:37 +0100
| Newsgroups | gmane.comp.jakarta.turbine.maven.mevenide.user |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_265400_15767280.1231366237174 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline here : http://www.netbeans.org/issues/enter_bug.cgi?component=maven Laurent. On Wed, Jan 7, 2009 at 3:19 PM, Zoltan Farkas <[email protected]>wrote: > I would like to file a issue regarding this, where should where should I > file this? > > --zoly > > ------------------------------ > *From:* Zoltan Farkas [mailto:[email protected]] > *Sent:* Thursday, December 18, 2008 4:51 PM > *To:* [email protected] > *Subject:* RE: [mevenide-user] Debug problems with NB 6.5 and maven 2 > > Ok, Figured it out myself, changed the Debug Test properties to: > > jpda.listen=true > maven.surefire.debug="-Xdebug -Djava.compiler=none -Xnoagent > -Xrunjdwp:transport=dt_socket,server=n,address=${jpda.address}" > jpda.stopclass=${packageClassName} > forkMode=once > test=${className} > > and it works now, I gues it was related with my fork settings on the > surefire plugin (for for every test). > > however with argLine debugging did not work... > > --zoly > > ------------------------------ > *From:* Zoltan Farkas [mailto:[email protected]] > *Sent:* Thursday, December 18, 2008 2:14 PM > *To:* [email protected] > *Subject:* [mevenide-user] Debug problems with NB 6.5 and maven 2 > > 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 > ------=_Part_265400_15767280.1231366237174 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline here : <a href="http://www.netbeans.org/issues/enter_bug.cgi?component=maven">http://www.netbeans.org/issues/enter_bug.cgi?component=maven</a><br><br><div class="gmail_quote"><br>Laurent.<br><br>On Wed, Jan 7, 2009 at 3:19 PM, Zoltan Farkas <span dir="ltr"><<a href="mailto:[email protected]">[email protected]</a>></span> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div> <div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">I would like to file a issue regarding this, where should where should I file this?</font></span></div> <div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial"></font></span> </div> <div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">--zoly</font></span></div><br> <div dir="ltr" align="left" lang="en-us"> <hr> <font size="2" face="Tahoma"><div class="Ih2E3d"><b>From:</b> Zoltan Farkas [mailto:<a href="mailto:[email protected]" target="_blank">[email protected]</a>] <br></div><b>Sent:</b> Thursday, December 18, 2008 4:51 PM<div class="Ih2E3d"><br><b>To:</b> <a href="mailto:[email protected]" target="_blank">[email protected]</a><br></div><b>Subject:</b> RE: [mevenide-user] Debug problems with NB 6.5 and maven 2<br></font><br></div><div><div></div><div class="Wj3C7c"> <div></div> <div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">Ok, Figured it out myself, changed the Debug Test properties to:</font></span></div> <div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial"></font></span> </div> <div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">jpda.listen=true<br>maven.surefire.debug="-Xdebug -Djava.compiler=none -Xnoagent -Xrunjdwp:transport=dt_socket,server=n,address=${jpda.address}"<br>jpda.stopclass=${packageClassName}<br>forkMode=once<br>test=${className}</font></span></div> <div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial"></font></span> </div> <div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">and it works now, I gues it was related with my fork settings on the surefire plugin (for for every test).</font></span></div> <div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial"></font></span> </div> <div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">however with argLine debugging did not work...</font></span></div> <div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial"></font></span> </div> <div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">--zoly</font></span></div><br> <div dir="ltr" align="left" lang="en-us"> <hr> <font size="2" face="Tahoma"><b>From:</b> Zoltan Farkas [mailto:<a href="mailto:[email protected]" target="_blank">[email protected]</a>] <br><b>Sent:</b> Thursday, December 18, 2008 2:14 PM<br><b>To:</b> <a href="mailto:[email protected]" target="_blank">[email protected]</a><br><b>Subject:</b> [mevenide-user] Debug problems with NB 6.5 and maven 2<br></font><br></div> <div></div> <div><span><font size="2" face="Arial">I am new to m2/nb5 combination, and I have some problems getting debug working.</font></span></div> <div><span><font size="2" face="Arial"></font></span> </div> <div><span><font size="2" face="Arial">I am trying to debug a unit test and I am running it with: "debug test"</font></span></div> <div><span><font size="2" face="Arial"></font></span> </div> <div><span><font size="2" face="Arial">here is the output:</font></span></div> <div><span><font size="2" face="Arial"></font></span> </div> <div><span><font size="2" face="Arial">NetBeans: JPDA Listening Start...<br>JPDA Address: z:52116<br>Port:52116<br>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'<br>NetBeans: JAVA_HOME =/usr/java</font></span></div> <div><span><font size="2" face="Arial">......</font></span></div> <div><span><font size="2" face="Arial"></font></span> </div> <div><span><font size="2" face="Arial">The debugger console displays: Listening on 52116</font></span></div> <div><span><font size="2" face="Arial"></font></span> </div> <div><span><font size="2" face="Arial">However I never see the debugger attaching to the process ....</font></span></div> <div><span><font size="2" face="Arial"></font></span> </div> <div><span><font size="2" face="Arial">Am I missing something? I had no problems doing this with M1/nb5.5</font></span></div> <div><span><font size="2" face="Arial"></font></span> </div> <div><span><font size="2" face="Arial">thanks</font></span></div> <div><span><font size="2" face="Arial"></font></span> </div> <div><span><font size="2" face="Arial">--zoly</font></span></div></div></div></div> </blockquote></div><br> ------=_Part_265400_15767280.1231366237174--