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

Debugging of the current file failed to start in the "Go" devfile

    XMLWordPrintable

Details

    • Hide
      • Create workspace using "Go" devfile
      • Go inside workspace and open "hello.go" file
      • Open debug panel and run the "Debug current file configuration"
      • Pay attention to the error notification

      *Browser console log: *

      theia.ce78acff1b585e901ee8.js:1 Uncaught (in promise) Error: the debug session connection is disposed, id: 491df637-cb21-457b-a0fc-1bca28d5bad7
          at e.checkDisposed (theia.ce78acff1b585e901ee8.js:1)
          at e.newEmitter (theia.ce78acff1b585e901ee8.js:1)
          at e.getEmitter (theia.ce78acff1b585e901ee8.js:1)
          at e.doFire (theia.ce78acff1b585e901ee8.js:1)
          at e.fire (theia.ce78acff1b585e901ee8.js:1)
          at t.e.fireExited (theia.ce78acff1b585e901ee8.js:1)
          at t.<anonymous> (theia.ce78acff1b585e901ee8.js:1)
          at theia.ce78acff1b585e901ee8.js:1
          at Object.throw (theia.ce78acff1b585e901ee8.js:1)
          at s (theia.ce78acff1b585e901ee8.js:1)
      e.checkDisposed @ theia.ce78acff1b585e901ee8.js:1
      e.newEmitter @ theia.ce78acff1b585e901ee8.js:1
      e.getEmitter @ theia.ce78acff1b585e901ee8.js:1
      e.doFire @ theia.ce78acff1b585e901ee8.js:1
      e.fire @ theia.ce78acff1b585e901ee8.js:1
      e.fireExited @ theia.ce78acff1b585e901ee8.js:1
      (anonymous) @ theia.ce78acff1b585e901ee8.js:1
      (anonymous) @ theia.ce78acff1b585e901ee8.js:1
      (anonymous) @ theia.ce78acff1b585e901ee8.js:1
      s @ theia.ce78acff1b585e901ee8.js:1
      Promise.then (async)
      c @ theia.ce78acff1b585e901ee8.js:1
      (anonymous) @ theia.ce78acff1b585e901ee8.js:1
      r @ theia.ce78acff1b585e901ee8.js:1
      e.terminate @ theia.ce78acff1b585e901ee8.js:1
      (anonymous) @ theia.ce78acff1b585e901ee8.js:1
      (anonymous) @ theia.ce78acff1b585e901ee8.js:1
      (anonymous) @ theia.ce78acff1b585e901ee8.js:1
      (anonymous) @ theia.ce78acff1b585e901ee8.js:1
      o @ theia.ce78acff1b585e901ee8.js:1
      (anonymous) @ theia.ce78acff1b585e901ee8.js:1
      (anonymous) @ theia.ce78acff1b585e901ee8.js:1
      e.invoke @ theia.ce78acff1b585e901ee8.js:1
      e.fire @ theia.ce78acff1b585e901ee8.js:1
      e.doFire @ theia.ce78acff1b585e901ee8.js:1
      e.handleEvent @ theia.ce78acff1b585e901ee8.js:1
      e.handleMessage @ theia.ce78acff1b585e901ee8.js:1
      (anonymous) @ theia.ce78acff1b585e901ee8.js:1
      t.readMessage @ theia.ce78acff1b585e901ee8.js:1
      (anonymous) @ theia.ce78acff1b585e901ee8.js:1
      (anonymous) @ theia.ce78acff1b585e901ee8.js:1
      (anonymous) @ theia.ce78acff1b585e901ee8.js:1
      (anonymous) @ theia.ce78acff1b585e901ee8.js:1
      r @ theia.ce78acff1b585e901ee8.js:1
      e.$sendMessage @ theia.ce78acff1b585e901ee8.js:1
      e.doInvokeHandler @ theia.ce78acff1b585e901ee8.js:1
      e.invokeHandler @ theia.ce78acff1b585e901ee8.js:1
      e.receiveRequest @ theia.ce78acff1b585e901ee8.js:1
      e.receiveOneMessage @ theia.ce78acff1b585e901ee8.js:1
      (anonymous) @ theia.ce78acff1b585e901ee8.js:1
      (anonymous) @ theia.ce78acff1b585e901ee8.js:1
      (anonymous) @ theia.ce78acff1b585e901ee8.js:1
      e.invoke @ theia.ce78acff1b585e901ee8.js:1
      e.fire @ theia.ce78acff1b585e901ee8.js:1
      postMessage @ theia.ce78acff1b585e901ee8.js:1
      (anonymous) @ theia.ce78acff1b585e901ee8.js:1
      (anonymous) @ theia.ce78acff1b585e901ee8.js:1
      (anonymous) @ theia.ce78acff1b585e901ee8.js:1
      (anonymous) @ theia.ce78acff1b585e901ee8.js:1
      PKK+.r @ theia.ce78acff1b585e901ee8.js:1
      e.onRequest @ theia.ce78acff1b585e901ee8.js:1
      (anonymous) @ theia.ce78acff1b585e901ee8.js:1
      (anonymous) @ vendors.6f6e8dfa539d91537561.js:132
      (anonymous) @ vendors.6f6e8dfa539d91537561.js:132
      (anonymous) @ vendors.6f6e8dfa539d91537561.js:132
      (anonymous) @ vendors.6f6e8dfa539d91537561.js:59
      m @ vendors.6f6e8dfa539d91537561.js:59
      s @ vendors.6f6e8dfa539d91537561.js:59
      postMessage (async)
      r @ vendors.6f6e8dfa539d91537561.js:59
      p.setImmediate @ vendors.6f6e8dfa539d91537561.js:59
      V @ vendors.6f6e8dfa539d91537561.js:132
      (anonymous) @ vendors.6f6e8dfa539d91537561.js:132
      (anonymous) @ vendors.6f6e8dfa539d91537561.js:132
      (anonymous) @ vendors.6f6e8dfa539d91537561.js:59
      m @ vendors.6f6e8dfa539d91537561.js:59
      s @ vendors.6f6e8dfa539d91537561.js:59
      postMessage (async)
      r @ vendors.6f6e8dfa539d91537561.js:59
      p.setImmediate @ vendors.6f6e8dfa539d91537561.js:59
      V @ vendors.6f6e8dfa539d91537561.js:132
      (anonymous) @ vendors.6f6e8dfa539d91537561.js:132
      (anonymous) @ vendors.6f6e8dfa539d91537561.js:132
      (anonymous) @ vendors.6f6e8dfa539d91537561.js:59
      m @ vendors.6f6e8dfa539d91537561.js:59
      s @ vendors.6f6e8dfa539d91537561.js:59
      postMessage (async)
      r @ vendors.6f6e8dfa539d91537561.js:59
      p.setImmediate @ vendors.6f6e8dfa539d91537561.js:59
      V @ vendors.6f6e8dfa539d91537561.js:132
      K @ vendors.6f6e8dfa539d91537561.js:132
      value @ vendors.6f6e8dfa539d91537561.js:8
      (anonymous) @ vendors.6f6e8dfa539d91537561.js:8
      e.handleMessage @ theia.ce78acff1b585e901ee8.js:1
      n.onmessage @ theia.ce78acff1b585e901ee8.js:1
      _handleMessage @ vendors.6f6e8dfa539d91537561.js:109
      Show 27 more frames
      theia.ce78acff1b585e901ee8.js:1 root INFO >>> Storing the layout...
      theia.ce78acff1b585e901ee8.js:1 root INFO <<< The layout has been successfully stored.
      
      Show
      Create workspace using "Go" devfile Go inside workspace and open "hello.go" file Open debug panel and run the "Debug current file configuration" Pay attention to the error notification *Browser console log: * theia.ce78acff1b585e901ee8.js:1 Uncaught (in promise) Error: the debug session connection is disposed, id: 491df637-cb21-457b-a0fc-1bca28d5bad7 at e.checkDisposed (theia.ce78acff1b585e901ee8.js:1) at e.newEmitter (theia.ce78acff1b585e901ee8.js:1) at e.getEmitter (theia.ce78acff1b585e901ee8.js:1) at e.doFire (theia.ce78acff1b585e901ee8.js:1) at e.fire (theia.ce78acff1b585e901ee8.js:1) at t.e.fireExited (theia.ce78acff1b585e901ee8.js:1) at t.<anonymous> (theia.ce78acff1b585e901ee8.js:1) at theia.ce78acff1b585e901ee8.js:1 at Object . throw (theia.ce78acff1b585e901ee8.js:1) at s (theia.ce78acff1b585e901ee8.js:1) e.checkDisposed @ theia.ce78acff1b585e901ee8.js:1 e.newEmitter @ theia.ce78acff1b585e901ee8.js:1 e.getEmitter @ theia.ce78acff1b585e901ee8.js:1 e.doFire @ theia.ce78acff1b585e901ee8.js:1 e.fire @ theia.ce78acff1b585e901ee8.js:1 e.fireExited @ theia.ce78acff1b585e901ee8.js:1 (anonymous) @ theia.ce78acff1b585e901ee8.js:1 (anonymous) @ theia.ce78acff1b585e901ee8.js:1 (anonymous) @ theia.ce78acff1b585e901ee8.js:1 s @ theia.ce78acff1b585e901ee8.js:1 Promise.then (async) c @ theia.ce78acff1b585e901ee8.js:1 (anonymous) @ theia.ce78acff1b585e901ee8.js:1 r @ theia.ce78acff1b585e901ee8.js:1 e.terminate @ theia.ce78acff1b585e901ee8.js:1 (anonymous) @ theia.ce78acff1b585e901ee8.js:1 (anonymous) @ theia.ce78acff1b585e901ee8.js:1 (anonymous) @ theia.ce78acff1b585e901ee8.js:1 (anonymous) @ theia.ce78acff1b585e901ee8.js:1 o @ theia.ce78acff1b585e901ee8.js:1 (anonymous) @ theia.ce78acff1b585e901ee8.js:1 (anonymous) @ theia.ce78acff1b585e901ee8.js:1 e.invoke @ theia.ce78acff1b585e901ee8.js:1 e.fire @ theia.ce78acff1b585e901ee8.js:1 e.doFire @ theia.ce78acff1b585e901ee8.js:1 e.handleEvent @ theia.ce78acff1b585e901ee8.js:1 e.handleMessage @ theia.ce78acff1b585e901ee8.js:1 (anonymous) @ theia.ce78acff1b585e901ee8.js:1 t.readMessage @ theia.ce78acff1b585e901ee8.js:1 (anonymous) @ theia.ce78acff1b585e901ee8.js:1 (anonymous) @ theia.ce78acff1b585e901ee8.js:1 (anonymous) @ theia.ce78acff1b585e901ee8.js:1 (anonymous) @ theia.ce78acff1b585e901ee8.js:1 r @ theia.ce78acff1b585e901ee8.js:1 e.$sendMessage @ theia.ce78acff1b585e901ee8.js:1 e.doInvokeHandler @ theia.ce78acff1b585e901ee8.js:1 e.invokeHandler @ theia.ce78acff1b585e901ee8.js:1 e.receiveRequest @ theia.ce78acff1b585e901ee8.js:1 e.receiveOneMessage @ theia.ce78acff1b585e901ee8.js:1 (anonymous) @ theia.ce78acff1b585e901ee8.js:1 (anonymous) @ theia.ce78acff1b585e901ee8.js:1 (anonymous) @ theia.ce78acff1b585e901ee8.js:1 e.invoke @ theia.ce78acff1b585e901ee8.js:1 e.fire @ theia.ce78acff1b585e901ee8.js:1 postMessage @ theia.ce78acff1b585e901ee8.js:1 (anonymous) @ theia.ce78acff1b585e901ee8.js:1 (anonymous) @ theia.ce78acff1b585e901ee8.js:1 (anonymous) @ theia.ce78acff1b585e901ee8.js:1 (anonymous) @ theia.ce78acff1b585e901ee8.js:1 PKK+.r @ theia.ce78acff1b585e901ee8.js:1 e.onRequest @ theia.ce78acff1b585e901ee8.js:1 (anonymous) @ theia.ce78acff1b585e901ee8.js:1 (anonymous) @ vendors.6f6e8dfa539d91537561.js:132 (anonymous) @ vendors.6f6e8dfa539d91537561.js:132 (anonymous) @ vendors.6f6e8dfa539d91537561.js:132 (anonymous) @ vendors.6f6e8dfa539d91537561.js:59 m @ vendors.6f6e8dfa539d91537561.js:59 s @ vendors.6f6e8dfa539d91537561.js:59 postMessage (async) r @ vendors.6f6e8dfa539d91537561.js:59 p.setImmediate @ vendors.6f6e8dfa539d91537561.js:59 V @ vendors.6f6e8dfa539d91537561.js:132 (anonymous) @ vendors.6f6e8dfa539d91537561.js:132 (anonymous) @ vendors.6f6e8dfa539d91537561.js:132 (anonymous) @ vendors.6f6e8dfa539d91537561.js:59 m @ vendors.6f6e8dfa539d91537561.js:59 s @ vendors.6f6e8dfa539d91537561.js:59 postMessage (async) r @ vendors.6f6e8dfa539d91537561.js:59 p.setImmediate @ vendors.6f6e8dfa539d91537561.js:59 V @ vendors.6f6e8dfa539d91537561.js:132 (anonymous) @ vendors.6f6e8dfa539d91537561.js:132 (anonymous) @ vendors.6f6e8dfa539d91537561.js:132 (anonymous) @ vendors.6f6e8dfa539d91537561.js:59 m @ vendors.6f6e8dfa539d91537561.js:59 s @ vendors.6f6e8dfa539d91537561.js:59 postMessage (async) r @ vendors.6f6e8dfa539d91537561.js:59 p.setImmediate @ vendors.6f6e8dfa539d91537561.js:59 V @ vendors.6f6e8dfa539d91537561.js:132 K @ vendors.6f6e8dfa539d91537561.js:132 value @ vendors.6f6e8dfa539d91537561.js:8 (anonymous) @ vendors.6f6e8dfa539d91537561.js:8 e.handleMessage @ theia.ce78acff1b585e901ee8.js:1 n.onmessage @ theia.ce78acff1b585e901ee8.js:1 _handleMessage @ vendors.6f6e8dfa539d91537561.js:109 Show 27 more frames theia.ce78acff1b585e901ee8.js:1 root INFO >>> Storing the layout... theia.ce78acff1b585e901ee8.js:1 root INFO <<< The layout has been successfully stored.

    Description

      Debugging of the current file failed to start in the "Go" devfile

      Environment:

      • OCP 4.3 cluster
      • quay.io/crw/server-rhel8:2.1-19
      • quay.io/crw/devfileregistry-rhel8:2.1-63
      • quay.io/crw/pluginregistry-rhel8:2.1-79

      Please notice if previously run the "Run current file" predefined command and after that repeat debug try everything will work as expected.

      Attachments

        Issue Links

          Activity

            People

              vsvydenk Valerii Svydenko
              iokhrime Ihor Okhrimenko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: