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

Command line parsing for remote debugging incorrect

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: Qt Creator 4.7.0
    • Fix Version/s: Qt Creator 4.7.1
    • Component/s: Debugger
    • Labels:
      None
    • Platform/s:
      All
    • Commits:
      5f61f1d2bca94869668de046e7d448b3fbb0692a

      Description

      https://github.com/qt-creator/qt-creator/blob/f36f04debabcf839a50c73e47202b24527e89ece/src/plugins/debugger/debuggerplugin.cpp#L1191

      The above line should read more like (maybe do some validation on "val")

       remoteChannel = val;

      As written the channel parameter of the debugger when passed via the command line is ignored. This breaks attaching to a remote debugger from the command line.

        Attachments

        For Gerrit Dashboard: QTCREATORBUG-20928
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            hjk hjk
            Reporter:
            danwang74 Daniel Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes