XMLWordPrintable

    • False
    • False
    • Hide
      = Debugging cannot be activated in Go workspaces

      Currently the debugging features cannot be activated in the Go workspace in {prod-short} {prod-ver}. Delve, the required debugger for the Go programming language, is not available for these platforms. Because the debugger doesn't exist, attempting to use it results in a *Failed to continue* error message. There is currently no workaround for this issue.
      Show
      = Debugging cannot be activated in Go workspaces Currently the debugging features cannot be activated in the Go workspace in {prod-short} {prod-ver}. Delve, the required debugger for the Go programming language, is not available for these platforms. Because the debugger doesn't exist, attempting to use it results in a *Failed to continue* error message. There is currently no workaround for this issue.
    • Known Issue
    • Rejected

      We can't activate debugging in the Go workspace following the steps described here:https://gitlab.cee.redhat.com/codeready-workspaces/e2e-codeready/-/blob/master/tests/default-stacks-tests/Go.spec.ts.

      It shows the error message "failed to continue: "{e}";

      The "dlv" command is not available. Run "go get -v github.com/go-delve/delve/cmd/dlv" to install."

      Unfortunately, i was not able to install dlv.

      There is a similar issue reported on X, which has been fixed a couple of days ago https://issues.redhat.com/browse/CRW-1021. And it is now working on X86 cluster after fixing version config. However, it doesn't seem our version is wrong, we got exactly the same registry.redhat.io/codeready-workspace/stacks-golang-rhel8 image as X got.

      There might be somewhere else not working properly.

        1. 2Go.PNG
          2Go.PNG
          53 kB
        2. Check the images used in Go workspace.png
          Check the images used in Go workspace.png
          808 kB
        3. Debugging (No config) on crw2.7.png
          Debugging (No config) on crw2.7.png
          885 kB
        4. Debugging error.png
          Debugging error.png
          618 kB
        5. go_debug_error_ds_3.16.0.png
          go_debug_error_ds_3.16.0.png
          20 kB
        6. image-2024-09-12-20-41-48-624.png
          image-2024-09-12-20-41-48-624.png
          23 kB
        7. image-2024-09-12-20-43-24-398.png
          image-2024-09-12-20-43-24-398.png
          41 kB
        8. Screenshot 2024-03-28 at 9.34.14 PM.png
          Screenshot 2024-03-28 at 9.34.14 PM.png
          725 kB
        9. Screenshot 2024-03-28 at 9.35.06 PM.png
          Screenshot 2024-03-28 at 9.35.06 PM.png
          1009 kB
        10. Screenshot 2024-03-28 at 9.35.06 PM-1.png
          Screenshot 2024-03-28 at 9.35.06 PM-1.png
          1009 kB
        11. x86_64_DS_3.13.0.ER.png
          x86_64_DS_3.13.0.ER.png
          348 kB

              kcrane@redhat.com Kirk Crane
              ruoxuan95 Doris Xu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated: