Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-1129

Files in .Trash-xxxxx conflict with debugger breakpoint display

    XMLWordPrintable

Details

    • Hide
      • Import project
      • Delete it with right-click Delete (or CMD/CTRL-Backspace)
      • Observe it moves to .Trash-xxxx
      • Re-import same project
      • Add a new method to an existing class
      • Run app
      • Attach debugger
      • set breakpoint somewhere in new code
      • trigger breakpoint (e.g. curl or whatever)
      • observe the file from .Trash-xxxx is displayed

       

      Show
      Import project Delete it with right-click Delete (or CMD/CTRL-Backspace) Observe it moves to .Trash-xxxx Re-import same project Add a new method to an existing class Run app Attach debugger set breakpoint somewhere in new code trigger breakpoint (e.g. curl or whatever) observe the file from .Trash-xxxx is displayed  

    Description

      If I import a Java project, then right-click on it to Delete it, it is moved to a folder called `.Trash-xxxxxxxxx`. 

      If I then re-import the same project, add some code to one of its classes, set a debug breakpoint in that new code, and attach the debugger and trigger the breakpoint, the wrong version of that file is shown. It shows the file from the .Trash directory, not the working file to which I've added code.

      Attachments

        Activity

          People

            vzhukovs-1 Vladyslav Zhukovskyi (Inactive)
            jfalkner1@redhat.com James Falkner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: