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

Output messages for Applying code changes in debugger is not correct for Maven projects

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 12.0
    • None
    • debugger - Java
    • Product Version: Apache NetBeans IDE 12.0-beta3
      Java: 11.0.6; OpenJDK 64-Bit Server VM 11.0.6+10
      Runtime: OpenJDK Runtime Environment 11.0.6+10
      System: Mac OS X version 10.15.3 running on x86_64; UTF-8; en_IN (nb)

    Description

      Test case https://netbeans-vm.apache.org/synergy/client/app/#/case/985/suite/1636/v/1

      Download the attachment MemoryViewMaven.zip

      Open the File FixContinue.java

      Toggle book mark on Line 25

      Right click in editor and Choose Debug File

      Execution will stop at break point

      Click step over once

      Change line number 30 to afterFix()

      Click Apply changes

       

      Expected result in output console

      Two lines in following order

      Before Code changes

      After code changes

       

      Actual result

      Before Code Changes

      Before Code Changes (see attachment code-change-wrong-msg.maven.png)

       

      The behaviour is as expected for ANT projects (see attachment Code_change_works-ant.png)

      Attachments

        1. Code_Change-works-ant.png
          67 kB
          Manikantan Narender Nath
        2. Code-change-wrong-msg-maven.png
          135 kB
          Manikantan Narender Nath
        3. MemoryViewMaven.zip
          24 kB
          Manikantan Narender Nath

        Issue Links

          Activity

            People

              Unassigned Unassigned
              manikantannaren Manikantan Narender Nath
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: