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
          53 kB
          dipiki joahi
        2. Check the images used in Go workspace.png
          808 kB
          Doris Xu
        3. Debugging (No config) on crw2.7.png
          885 kB
          Doris Xu
        4. Debugging error.png
          618 kB
          Doris Xu
        5. go_debug_error_ds_3.16.0.png
          20 kB
          Dmytro Nochevnov
        6. image-2024-09-12-20-41-48-624.png
          23 kB
          Sudharshan Muralidharan
        7. image-2024-09-12-20-43-24-398.png
          41 kB
          Sudharshan Muralidharan
        8. Screenshot 2024-03-28 at 9.34.14 PM.png
          725 kB
          Jungsu Kim
        9. Screenshot 2024-03-28 at 9.35.06 PM.png
          1009 kB
          Jungsu Kim
        10. Screenshot 2024-03-28 at 9.35.06 PM-1.png
          1009 kB
          Jungsu Kim
        11. x86_64_DS_3.13.0.ER.png
          348 kB
          Dmytro Nochevnov

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

                Created:
                Updated: