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

Syntax for command-line triggered debugging lacks many options

XMLWordPrintable

    • 266da3568d2db185f67227d38e29cd20d28fb2bd

      First of all, the documentation is incomplete. The remote debugging syntax (<server:port>@<exe>@<arch>) doesn't appear, and the behavior on Windows ABI is not documented (argument is considered a coredump if it has '.dmp' extension. Otherwise, it is considered executable).

      Moreover, this syntax lacks settings for sysroot, executable (for coredump) and toolchain.

      IMHO, using distinct command-line options for each setting would be much better.

      Two options I had in mind are:

      -debug exe=<exe>[,toolchain=<toolchain>][,server=<server:port>][,arch=<arch>][,core=<core>][,sysroot=<sysroot>]

      or

      -debug -exe <exe> -toolchain <toolchain> -server <server:port> -arch <arch>...

      -debug <pid> can be left as it is or be added as an argument as well.

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

            orgads Orgad Shaneh
            orgads Orgad Shaneh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes