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

Starting Remote Debugger fails due to passing wrong arguments

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • Qt Creator 3.2.0-rc1
    • Qt Creator 3.2.0-rc1
    • Remote Linux
    • None
    • Qt-Creator master on Ubuntu 14.04 x64
      with a remote embedded linux running on an ARM platform
    • efa62d54c756c9504eb36d0583c9ad8de5532a9d

    Description

      In the current master b100d3bc9c005d5bc2c10da33f689021b216b96d there seems to be a bug in setting up the remote debugging session. Not sure where it has been introduced, at least official qt creator 3.1 did not have this error.

      The problem is that in remotelinuxdebugsupport.cpp line 169 the arguments that should be passed to the remote executable are passed to the gdbserver command. This results in failing to start the gdbserver correctly.

      In my case I got an executable which I wanted to pass "s" as argument. When trying to debug, starting the gdbserver failed because it got the "s" passed to it's own arguments (runner->start(device(), command, args); line 191)

      I haven't dived into the history of remotelinuxdebugsupport.cpp so I'm not sure why or in which way this has been changed in comparison to previous versions. But it destroys the capability of qt creator to debug with passing arguments to the remote executable

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            volki21 Volker Vogelhuber
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes