On 4/11/19 3:30 AM, Luff,Chris wrote:
> Works for me…
> 
>         <action>
>             <actionName>debug</actionName>
>             <packagings>
>                 <packaging>jar</packaging>
>             </packagings>
>             <goals>
>                 <goal>process-classes</goal>
>                 <goal>org.codehaus.mojo:exec-maven-plugin:1.5.0:exec</goal>
>             </goals>
>             <properties>
>                 
> <exec.args>-agentlib:jdwp=transport=dt_socket,server=n,address=${jpda.address}
>  -classpath %classpath com.mypackage.MainApp</exec.args>
>                 <exec.executable>java</exec.executable>
>                 <jpda.listen>true</jpda.listen>
>             </properties>
>         </action>
> 
> You’re going to need to share some additional information - JDK, NetBeans 
> version etc.

Doesn't work for me.

JDK 11.0.2
NetBeans 11.0
Debian "buster" Linux

Sample project: https://gitlab.com/Cenbe/fxmaven

symptoms: Ignores "suspend=y" and "jpda.address" in jdwp settings,
breakpoints not hit. Trying to attach debugger at address shown in
debugger output results in a hang requiring NetBeans restart.

-- 
Glenn Holmer (Linux registered user #16682)
"After the vintage season came the aftermath -- and Cenbe."

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to