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

Qt Creator 4.5 beta doesn't 'target remote <ip>:<port>' when remote debugging

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • Qt Creator 4.5.0-beta1
    • Debugger
    • None
    • Linux Kubuntu 14.04 workstation communicating with ARM target over tcp/ip.  gdb and gdbserver and known working combination.  Can use them standalone (without QtC) and with QtC 4.3.1 successfully.

    Description

      I am unable to remote debug an embedded linux target with this version.  I am able to do it using Qt Creator 4.3.1 using almost the exact same steps.

      Reference this stack overflow url:
      https://stackoverflow.com/questions/47560895/qt-creator-4-5-beta-cant-make-connection-to-gdbserver

      I use Debug->Start Debugging->Attach To Running Debug Server to start the debug session.  I plug in the correct gdb server port.  When I hit OK, I view the Qt Debugger-log and see near the start it has the correct IP and port number for the remote.  However, it never does the 'target remote tcp:10.28.22.226:2345' with 4.5.0-beta1.  It does do the 'target remote tcp:10.28.22.226:2345' with version 4.3.1, however. 

      There is a slight difference in the 'Start Debug' dialog between 4.3.1 and 4.5.0-beta1.  The 4.3.1 version has a field to 'override server address', which I had to fill in to get the debug session to work.  That field slightly different in 4.5.0-beta1.  I tried both ways in 4.5.0 (both setting the override and not).  When setting the override, I used IP:port in the field.

      Attachments

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

        Activity

          People

            hjk hjk
            rhv70 Rich von Lehe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes