Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-5319

Not able to submit breakpoint LineBreakpoint to added java file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 12.3
    • 12.3
    • vscode
    • Ubuntu 20.04, GraalVM 21.0 Jdk8.

    Description

      VSNB ext 12.3.286 and GraalVM Micronaut ext.

      Create MN project based on Maven.

      Add new controller class, e.g. HelloController.java. place a breakpoint into valid line. Save it.

      Run debugger using F5.

      Following error is printed to debug output:

       

      --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ demom ---
      Changes detected - recompiling the module!
      Compiling 1 source file to /home/martin/Development/demom/target/test-classes
      User program running
      Not able to submit breakpoint LineBreakpoint HelloController.java : 15, reason: The breakpoint is set outside of any class.
      Invalid LineBreakpoint HelloController.java : 15
      

      It happens even after forced workspace compilation.

      Attachments

        Issue Links

          Activity

            People

              entlicher Martin Entlicher
              mbalin Martin Balin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m