Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-33620

gdb under docker can't connect to gdbserver if using ssh port forwarding

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 17.0.2, Qt Creator 18.0.0-beta2
    • Debugger, Docker, Remote Linux
    • None

      In configuration of SSH device checked "Use SSH port forwarding for debugging".

      I created docker device (aarch64) which has gdb and other dev tools. It's used to build and debug app for RPi.

      When gdb under docker is trying to connect "localhost:10000" while it should connect to "host.docker.internal:10000". Eventually it times out with error message.

       

      I created a quick workaround patch, which resolves this issue.

       

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            hjk hjk
            dilshodm Dilshod Mukhtarov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes