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

Unable to debug when Run in Terminal option selected

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • Qt Creator 11.0.0-beta2
    • Qt Creator 11.0.0-beta1
    • Debugger
    • Apple M2 Pro

    Description

      Refer "Tests using tests/manual/debugger/cli-io/cli-io.pro from Qt Creator's source repository" section in https://wiki.qt.io/Qt_Creator_ManualTests_DebuggerLldb

      >> When Run in Terminal option is selected, it was not possible to debug. What is the expected behaviour? Is it possible to debug when Run in Terminal option selected?

       

      >> Output when Run in terminal selected  : 

      This is a QString: "I'm a QString"
      This is a std::string: I'm a std::string
      This is a char c[]: I'm a char c[]
      This is an int: 1892
      This is QDebug
      This is stdout
      This is stderr

      Observation :  Order of output statements is same as code.

      Output when Run in terminal option not selected :

      This is a QString: "I'm a QString"
      This is QDebug
      This is a std::string: I'm a std::string
      This is a char c[]: I'm a char c[]
      This is an int: 1892
      This is stdout
      This is stderr

      Observation : The order of output statements appears to be different. Could you please confirm why the behaviour is different in both cases?

       

       

      Attachments

        Issue Links

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

          Activity

            People

              madwinter Marcus Tillmanns
              anualiyas Anu Aliyas
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes