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

Terminal does not show output when debugging

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • Qt Creator 13.0.0
    • Qt Creator 13.0.0-rc1
    • Terminal
    • Windows 11 23H2
      MSVC2019
      cdb 10.0
    • 3d8d85b5b (13.0)

    Description

      1. Open the project tests\manual\debugger\cli-io\main.cpp from Creator's source repository.
      2. In Projects mode, check "Run in Terminal".
      3. Make sure that there is no Terminal open, neither in Edit mode nor in Debug mode.
      4. Run the program in the debugger.
        No terminal will open up. Opening a Terminal after the execution will not show the program's output.
      5. In main.cpp, comment out the first return line.
      6. Make sure again that there is no Terminal open, neither in Edit mode nor in Debug mode.
      7. Run the program in the debugger.
        Again, no terminal will open up. Opening a Terminal manually will only show the very last line of output: "Enter something:"

      The output should not just disappear. If a Terminal is open before debugging the program, this seems to work fine.

      Attachments

        Issue Links

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

          Activity

            People

              madwinter Marcus Tillmanns
              rlohning Robert Löhning
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes