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

        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