errael opened a new issue, #6097: URL: https://github.com/apache/netbeans/issues/6097
### Apache NetBeans version Apache NetBeans 18 ### What happened Want to run the debugger on test and look at some stuff, select ``` editor > right-context-menu > DebugTestFile ``` It doesn't run; gradle thinks everything is up to date. Shouldn't `Debug Test File` at least, and possibly `Test File` as well, always run the debugger on the test file no matter what. ``` JAVA_HOME="/ref/openjdk/jdk-11" cd /ref/tools/astrolog.d/castro/AstroComp/castro; ../gradlew --configure-on-demand -x check cleanTest test --debug-jvm --tests com.raelity.astrolog.castro.AstroMemTest Configuration on demand is an incubating feature. > Task :castro:cleanTest > Task :castro:compileJava UP-TO-DATE > Task :castro:processResources NO-SOURCE > Task :castro:classes UP-TO-DATE > Task :castro:compileTestJava UP-TO-DATE > Task :castro:processTestResources NO-SOURCE > Task :castro:testClasses UP-TO-DATE > Task :castro:test FROM-CACHE BUILD SUCCESSFUL in 981ms 4 actionable tasks: 1 executed, 1 from cache, 2 up-to-date ``` ### How to reproduce Do `editor > right-context-menu > DebugTestFile`, if the test runs, then do it again and the test won't run. A successful run looks like ``` JAVA_HOME="/ref/openjdk/jdk-11" cd /ref/tools/astrolog.d/castro/AstroComp/castro; ../gradlew --configure-on-demand -x check cleanTest test --debug-jvm --tests com.raelity.astrolog.castro.mems.AstroMemTest Configuration on demand is an incubating feature. > Task :castro:cleanTest > Task :castro:compileJava Note: /ref/tools/astrolog.d/castro/AstroComp/castro/src/main/java/com/raelity/astrolog/castro/Castro.java uses preview features of Java SE 19. Note: Recompile with -Xlint:preview for details. > Task :castro:processResources NO-SOURCE > Task :castro:classes > Task :castro:compileTestJava > Task :castro:processTestResources NO-SOURCE > Task :castro:testClasses > Task :castro:test Listening for transport dt_socket at address: 5005 BUILD SUCCESSFUL in 5s 4 actionable tasks: 4 executed ``` ### Did this work correctly in an earlier version? No / Don't know ### Operating System Linux harmony 6.0.6-76060006-generic #202210290932~1667401208~22.04~d2df702 SMP PREEMPT_DYNAMIC Wed N x86_64 x86_64 x86_64 GNU/Linux ### JDK java version "17.0.6" 2023-01-17 LTS Java(TM) SE Runtime Environment (build 17.0.6+9-LTS-190) Java HotSpot(TM) 64-Bit Server VM (build 17.0.6+9-LTS-190, mixed mode, sharing) ### Apache NetBeans packaging Apache NetBeans binary zip ### Anything else _No response_ ### Are you willing to submit a pull request? No -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- 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
