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

Attaching to running debug server fails because Qt Creator ignores designated port and tries using tcp::0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • Qt Creator 4.4.0
    • Qt Creator 4.0.0, Qt Creator 4.0.1, Qt Creator 4.1.0-beta1
    • Debugger
    • None
    • OSX 10.11.4

    Description

      Debug -> Start -> Attach to Running Debug Server

      When I try to attach to a remote GDB target via Debug -> Start Debugging -> Attach to Running Debug Server..., no matter what port I use the actual gdb command is `target remote tcp::0`.

      Qt Creator then fails with "Connecting to remote server failed: tcp::0. Can't assign request address".

      Rolling back to Qt Creator 3.6.x resolves the problem and the debug log shows the expected `target remote tcp::3333`.

      Attachments

        1. Screen Shot 2016-07-08 at 10.44.59 AM.png
          204 kB
          Kenz Dale
        2. Screen Shot 2016-07-08 at 11.19.52 AM.png
          134 kB
          Kenz Dale
        3. Qt 3.x kit settings.png
          511 kB
          Kenz Dale
        4. Qt 4.x kit settings.png
          170 kB
          Kenz Dale
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hjk hjk
            kubark42_ Kenz Dale
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes