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

Environment is (almost) empty when debugging without Run in terminal

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: Qt Creator 4.5.0, Qt Creator 4.7.0
    • Fix Version/s: Qt Creator 4.7.1
    • Component/s: Debugger
    • Labels:
      None
    • Environment:
      Linux (openSUSE TW 20180326)

      Qt Creator 4.5.0
      Based on Qt 5.10.0 (GCC 7.3.1 20180227, 64 bit)
    • Commits:
      c30b629b524597f6ae9d4308301244642fc98e5c

      Description

      I try to debug an application via

      Debug -> Start Debugging -> Start and Debug External Application...

      When I select "Run in terminal", the environment is complete.

      When not selected, the environment just contains (from /proc/<PID>/environ):

      PWD=/tmp
      LINES=24
      LC_NUMERIC=C
      COLUMNS=80
      SHLVL=0

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              con Eike Ziller
              Reporter:
              bruns Stefan BrĂ¼ns
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes