Re: JavaFX debug

2019-04-11 Thread Thomas Zimmermann

This works for me:

   
    CUSTOM-debug
    debug
    
    install
    exec:exec@debug
    
    
    localhost:8000
    Listening for transport dt_socket at
   address
    
   

And in your pom.xml:

   
    org.codehaus.mojo
    exec-maven-plugin
    
    
    debug
    
    exec
    
    
    java
    
   
-agentlib:jdwp=transport=dt_socket,server=y,address=8000,suspend=y
    --module-path
    
    --module
   org.example/org.example.Main
    
    
    
    
   

This configuration is obviously for the module path, adapt to the 
classpath if needed.


Best regards,
Thomas


On 2019/04/06 10:26:36, joe schmo  wrote:
> I'm trying to debug a JavaFX program but it doesn't seem to recognize 
my breakpoints. Anyone else experience this? If so how did you fix it.>

>
> Thanks>
>
> BC>
>


Re: JavaFX debug

2019-04-11 Thread joe schmo
Doesn't work for me either

JDK 11.0.2
NetBeans 11.0
Windows 10

From: Glenn Holmer 
Sent: April 11, 2019 10:17 AM
To: dev@netbeans.incubator.apache.org
Subject: Re: JavaFX debug

On 4/11/19 3:30 AM, Luff,Chris wrote:
> Works for me…
>
> 
> debug
> 
> jar
> 
> 
> process-classes
> org.codehaus.mojo:exec-maven-plugin:1.5.0:exec
> 
> 
> 
> -agentlib:jdwp=transport=dt_socket,server=n,address=${jpda.address}
>  -classpath %classpath com.mypackage.MainApp
> java
> true
> 
> 
>
> 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





Re: JavaFX debug

2019-04-11 Thread Glenn Holmer
On 4/11/19 3:30 AM, Luff,Chris wrote:
> Works for me…
> 
> 
> debug
> 
> jar
> 
> 
> process-classes
> org.codehaus.mojo:exec-maven-plugin:1.5.0:exec
> 
> 
> 
> -agentlib:jdwp=transport=dt_socket,server=n,address=${jpda.address}
>  -classpath %classpath com.mypackage.MainApp
> java
> true
> 
> 
> 
> 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





Re: JavaFX debug

2019-04-11 Thread Luff,Chris
Works for me…


debug

jar


process-classes
org.codehaus.mojo:exec-maven-plugin:1.5.0:exec



-agentlib:jdwp=transport=dt_socket,server=n,address=${jpda.address} 
-classpath %classpath com.mypackage.MainApp
java
true



You’re going to need to share some additional information - JDK, NetBeans 
version etc.

> On 6 Apr 2019, at 11:26, joe schmo  wrote:
>
> I'm trying to debug a JavaFX program but it doesn't seem to recognize my 
> breakpoints.  Anyone else experience this?  If so how did you fix it.
>
> Thanks
>
> BC



CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.