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
    • Undefined
    • Hide
      = Debugging cannot be activated in Go workspaces on IBM Z and IBM Power

      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. This issue has no workaround.
      Show
      = Debugging cannot be activated in Go workspaces on IBM Z and IBM Power 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. This issue has no workaround.
    • Documented as Known Issue

    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
          88 kB
          dipiki joahi
        2. 2Go.PNG
          53 kB
          dipiki joahi
        3. Check the images used in Go workspace.png
          808 kB
          Doris Xu
        4. Debugging (No config) on crw2.7.png
          885 kB
          Doris Xu
        5. Debugging error.png
          618 kB
          Doris Xu

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: