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 <[email protected]> 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 > <[email protected]> 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 > <[email protected]> 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 >> -- >> >> >> >
