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

Std input not received when debugging with "Run in Terminal" on macOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • Qt Creator 4.13.0-beta1
    • Debugger
    • macOS 10.15.4
      Xcode 11.3.1
    • macOS

    Description

      1) Open Qt Creator manual test simple.pro project
      tests/manual/debugger/simple/simple.pro
      2) Uncomment testInput() test and rebuild
      3) Make sure Run In Terminal is checked in run settings
      4) Run without debugging, and observe that entered input (2 ints) from the terminal is received by application
      5) Start debugging the application, try to enter 2 integers in the terminal, observe that no matter how much input is entered, the application is stuck.

      Tried with default shell set to both /bin/bash and /bin/zsh, with same results.
      Run In Terminal opens the regular macOS terminal app, not iTerm2.

      One notable thing is that the opened temporary terminal has some shell warnings on startup, not sure if related give that they appear when not debugging and yet input still works then.

      /var/folders/b0/d9_cv_011jvdl2kt9z25np080000gn/T/tmpovtsp7 ; exit;
      /var/folders/b0/d9_cv_011jvdl2kt9z25np080000gn/T/tmpovtsp7:unset:11: bad option: -c
      /var/folders/b0/d9_cv_011jvdl2kt9z25np080000gn/T/tmpovtsp7:unset:11: bad option: -c
      /var/folders/b0/d9_cv_011jvdl2kt9z25np080000gn/T/tmpovtsp7:unset:11: not enough arguments
      
      

      Attachments

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

        Activity

          People

            hjk hjk
            alexandru.croitor Alexandru Croitor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes