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

Terminal does not show output when debugging

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes