Hi, Thank you, your questions put me on the right track. I did what you suggested (right click and Debug) and met an error about missing javafx libs. I need to add the javafx plugin, add the javafx lib in NetBeans and basically follow the steps here: https://openjfx.io/openjfx-docs/#introduction
Still, the debugger was just "listening" without doing anything, the app was not running. I followed the further steps here to attach the debugger: https://stackoverflow.com/questions/56197372/i-cant-debug-an-application-using-netbeans-11-with-javafx-12 And now everything is fine. Thx! Clement ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Tuesday 29 December 2020 12:32, Geertjan Wielenga <geertjan.wiele...@googlemail.com.INVALID> wrote: > What happens when you set a breakpoint in your code in NetBeans and > right-click the project and choose Debug? > > You might need to look at the Debug action, after right-clicking the project, > choosing Properties, and look in the Actions category to finetune the Debug > action for your needs. > > Gj > > On Tue, 29 Dec 2020 at 12:21, Clement Levallois > <clementlevall...@protonmail.com.invalid> wrote: > >> Hi, >> >> The project is made of a parent pom and child maven modules. Yes, I can open >> it in NetBeans and build it. >> >> The build creates a "mods" folder where all the JPMS jars are generated. >> Then, I run the app with a command which specifies the module-path and the >> start module: >> java --module-path mods/gui --module net.clementlevallois.javafxtest.gui >> >> The result looks like: >> https://github.com/seinecle/yetanotherjavafxjmpstest >> >> So... not sure at which step / how I can use the "debug" function in >> NetBeans for such a project? >> >> Clement >> Sent with [ProtonMail](https://protonmail.com) Secure Email. >> >> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ >> On Tuesday 29 December 2020 12:12, Geertjan Wielenga >> <geertjan.wiele...@googlemail.com.INVALID> wrote: >> >>> What happens when you use File | Open Project and browse to the root >>> folder? Alternatively, create a new Java project in NetBeans and copy your >>> code into the generated project template. >>> >>> Gj >>> >>> On Tue, 29 Dec 2020 at 12:05, Clement Levallois >>> <clementlevall...@protonmail.com.invalid> wrote: >>> >>>> Hi, >>>> >>>> At the moment I run my jigsaw / JPMS project from the command line: >>>> java --module-path mods/core --module >>>> net.clementlevallois.certificateapp.core >>>> >>>> This works fine but this prevents me from using NetBeans debugging >>>> capabilities (line by line debugging in particular). How can I come back >>>> to NetBeans for launching my modular projects? (without maven plugins, >>>> just the equivalent of the command line above: java --module-path etc). >>>> Thx! >>>> >>>> Clement Levallois >>>> --