You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create Quarkus maven project using either Quarkus website or Quarkus CLI
Open the project in NetBeans
Try to debug the project
Modify the properties as I described above
Try debugging the project again
It never reaches the breaking point
Did this work correctly in an earlier version?
No / Don't know
Operating System
Windows 11 Version 24H2 (Compilation SO 26100.2161) x64 bit
JDK
OpenJDK Runtime Environment Temurin-21.0.4+7 (build 21.0.4+7-LTS) x64 bit
Apache NetBeans packaging
Apache NetBeans provided installer
Anything else
If I run the application with the target quarkus:dev, which by default uses port 5005 with transport dt_socket and then in the debug icon -> Attach Debugger... in the window I put:
Debugger: Java Debugger (JPDA)
Connector: Scoket Attach (Attaches by socket to other VMs)
Transport: dt_socket
Host: localhost
Port: 5005
Timeout [ms]:
In that case the debugger works without problems
However, it is more convenient to run from the Netbeans debug icon, without the need for these extra steps
Are you willing to submit a pull request?
No
The text was updated successfully, but these errors were encountered:
Apache NetBeans version
Apache NetBeans 23
What happened
If you want to run the debugger and see some things, Netbeans prompts me for the main class
Quarkus projects do not have a main class, Quarkus projects with Maven are run with the
quarkus:dev
goalI changed in the project properties, Actions -> Run project
quarkus:dev
And I was able to run the project
I tried to do something similar with debugging
The Quarkus documentation indicates that port 5005 is used, but this can be changed with the
-Ddebug=<port number>
flaghttps://quarkus.io/guides/maven-tooling#debugging
I noticed that Netbeans uses a random port which can be obtained with
${jpda.address}
Then I changed in the project properties, Actions -> Debug project
quarkus:dev -Ddebug=${jpda.address}
However, it never reaches the breaking point.
Language / Project Type / NetBeans Component
Java Debugger (JPDA)
How to reproduce
Did this work correctly in an earlier version?
No / Don't know
Operating System
Windows 11 Version 24H2 (Compilation SO 26100.2161) x64 bit
JDK
OpenJDK Runtime Environment Temurin-21.0.4+7 (build 21.0.4+7-LTS) x64 bit
Apache NetBeans packaging
Apache NetBeans provided installer
Anything else
If I run the application with the target
quarkus:dev
, which by default uses port5005
with transportdt_socket
and then in the debug icon -> Attach Debugger... in the window I put:In that case the debugger works without problems
However, it is more convenient to run from the Netbeans debug icon, without the need for these extra steps
Are you willing to submit a pull request?
No
The text was updated successfully, but these errors were encountered: