Hi,
sorry for the late reply!
I changed the configuration to run on the classpath instead, you can see
a working example here:
https://github.com/zimmi/netbeans-non-modular-javafx-example
The standard "Run" and "Debug" actions in NetBeans should work,
previously they were custom actions.
Best regards,
Thomas
On 2019/04/25 20:52:27, joe schmo <[email protected]> wrote:
> Thomas said it was configured for a module and to adapt it as needed.
It's that part I don't understand, I would think changing it to my Main
class would be part of it, but there is module configuration in the
example given.>
>
> BC>
> ________________________________>
> From: Geertjan Wielenga <[email protected]>>
> Sent: April 25, 2019 5:47 PM>
> To: dev>
> Subject: Re: JavaFX debug>
>
> You change this:>
>
> org.example/org.example.Main>
>
> ...to your own Main class.>
>
> Or let's just ask Thomas. Hi Thomas, can you provide more info to the
above>
> question?>
>
> Thanks,>
>
> Gj>
>
> On Thu, Apr 25, 2019 at 11:43 PM joe schmo <[email protected]> wrote:>
>
> > I have used the tutorial provided to set up my JavaFX program. I do
not>
> > know what to change to the example provided for debugging ,
specifically>
> >>
> > <arguments>>
> >>
> >
<argument>-agentlib:jdwp=transport=dt_socket,server=y,address=8000,suspend=y</argument>>
> > <argument>--module-path</argument>>
> > <modulepath/>>
> > <argument>--module</argument>>
> > <argument>org.example/org.example.Main</argument>>
> > </arguments>>
> > ________________________________>
> > From: Geertjan Wielenga <[email protected]>>
> > Sent: April 25, 2019 5:16 PM>
> > To: dev>
> > Subject: Re: JavaFX debug>
> >>
> > Um, no, did not know that. Thomas Zimmermann provided you with the>
> > instructions, I assumed they worked for you.>
> >>
> > https://www.youtube.com/watch?v=RCdBmPfzeyM>
> >>
> > It's basically similar to the above, with the enhancements that
Thomas>
> > points out.>
> >>
> > Happy to make that video myself, if you like. But only after you
take the>
> > steps described above and then try and adapt the result to what
Thomas>
> > describes.>
> >>
> > Gj>
> >>
> >>
> >>
> >>
> >>
> > On Thu, Apr 25, 2019 at 11:09 PM joe schmo <[email protected]>>
> > wrote:>
> >>
> > > Since I am unable to debug my JavaFX program I will not be making a>
> > > tutorial video. But of course you knew that.>
> > >>
> > > BC>
> > > ________________________________>
> > > From: Geertjan Wielenga <[email protected]>>
> > > Sent: April 25, 2019 4:58 PM>
> > > To: dev>
> > > Cc: [email protected]>
> > > Subject: Re: JavaFX debug>
> > >>
> > > Great, looking forward to it. When you've made it, we'll promote
it on>
> > > Twitter, Facebook, etc.>
> > >>
> > > Gj>
> > >>
> > > On Thu, Apr 25, 2019 at 10:51 PM joe schmo <[email protected]>>
> > > wrote:>
> > >>
> > > > This might be a good candidate for one of those tutorial videos.>
> > > >>
> > > > BC>
> > > > ________________________________>
> > > > From: Thomas Zimmermann <[email protected]>>
> > > > Sent: April 11, 2019 12:22 PM>
> > > > To: [email protected]>
> > > > Subject: Re: JavaFX debug>
> > > >>
> > > > This works for me:>
> > > >>
> > > > <action>>
> > > > <actionName>CUSTOM-debug</actionName>>
> > > > <displayName>debug</displayName>>
> > > > <goals>>
> > > > <goal>install</goal>>
> > > > <goal>exec:exec@debug</goal>>
> > > > </goals>>
> > > > <properties>>
> > > > <jpda.attach>localhost:8000</jpda.attach>>
> > > > <jpda.attach.trigger>Listening for transport dt_socket at>
> > > > address</jpda.attach.trigger>>
> > > > </properties>>
> > > > </action>>
> > > >>
> > > > And in your pom.xml:>
> > > >>
> > > > <plugin>>
> > > > <groupId>org.codehaus.mojo</groupId>>
> > > > <artifactId>exec-maven-plugin</artifactId>>
> > > > <executions>>
> > > > <execution>>
> > > > <id>debug</id>>
> > > > <goals>>
> > > > <goal>exec</goal>>
> > > > </goals>>
> > > > <configuration>>
> > > > <executable>java</executable>>
> > > > <arguments>>
> > > >>
> > > >>
> > >>
> >
<argument>-agentlib:jdwp=transport=dt_socket,server=y,address=8000,suspend=y</argument>>
> > > > <argument>--module-path</argument>>
> > > > <modulepath/>>
> > > > <argument>--module</argument>>
> > > > <argument>org.example/org.example.Main</argument>>
> > > > </arguments>>
> > > > </configuration>>
> > > > </execution>>
> > > > </executions>>
> > > > </plugin>>
> > > >>
> > > > 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 <[email protected]> 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>>
> > > > >>
> > > >>
> > >>
> >>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists