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

Debugging can't be activated in Go workspace on s390x / ppc64le cluster

    XMLWordPrintable

Details

    • False
    • False
    • Hide
      = Debugging cannot be activated in Go workspaces on IBM Z and IBM Power

      Currently on IBM Z and IBM Power, 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 on IBM Z and IBM Power Currently on IBM Z and IBM Power, 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

    Description

      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.

      Attachments

        1. 1Go.PNG
          1Go.PNG
          88 kB
        2. 2Go.PNG
          2Go.PNG
          53 kB
        3. Check the images used in Go workspace.png
          Check the images used in Go workspace.png
          808 kB
        4. Debugging (No config) on crw2.7.png
          Debugging (No config) on crw2.7.png
          885 kB
        5. Debugging error.png
          Debugging error.png
          618 kB

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: