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

GDB "Additional Startup Commands" Variables are not processed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: Qt Creator 5.0.2
    • Fix Version/s: Qt Creator 6.0.0-beta2
    • Component/s: Debugger
    • Labels:
      None
    • Platform/s:
      Linux/X11
    • Commits:
      fcc981937fe92fd41994008610a351d90ea3acaa (qt-creator/qt-creator/6.0)

      Description

      In the "Additional Startup commands" variables may get insterted. They seem not to get resolved.

      For example this startup command:

       set solib-search-path %{ActiveProject:BuildConfig:Path}

      If the debugger is started and "show solib-search-path" is entered as a debugger command, the response is:

      <438show solib-search-path
      {{ >&"show solib-search-path\n"}}
      {{ >~"The search path for loading non-absolute shared library symbol files is %{ActiveProject:BuildConfig:Path}.\n"}}
      {{ >438^done}}
      {{ }}

       

      So the variable doesn't get gesolved.

       

      Entering the full path for solib-search-path manually works. But only if the path is not quoted (e.g. using ").

        Attachments

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

          Activity

            People

            Assignee:
            hjk hjk
            Reporter:
            k-h.sch Karl-Heinz Schneider
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes