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

console.info messages are not shown in Debugger Console

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: Qt Creator 4.6.0-rc1
    • Fix Version/s: Qt Creator 4.6.1
    • Component/s: Debugger
    • Labels:
    • Environment:
      Ubuntu 64 bit (see details in description)
    • Commits:
      89d32d1efdb10b0926dfbe98e929357269596fc1

      Description

      1. Open the project simpleQuickUI2 from Creator's repository.
        It's in tests/system/suite_debugger/shared/testdata/simpleQuickUI2/simpleQuickUI2.qmlproject
      2. Run the project in the debugger.
      3. In "Locals" view, select the root node "Rectangle" (QQuickView with Qt 5.10.1).
      4. Show the Debugger Console.
      5. Make sure that all message types are selected in the Console icon bar, so all messages should be shown.
      6. Type console.info("message") into the Console and press Enter.
        The results vary depending on the platform and the Qt version used to run the project:
          Qt 5.3.1 Qt 5.4.1 Qt 5.6.1  Qt 5.10.1
        Ubuntu 16.04 LTS 64 bit
        Ubuntu 17.10 64 bit

        In all these cases, these message is being written to the Application Output view.
        I did not build those Qt packages and the used Creator myself but used the official installers (gcc_64).

      console.info messages should be shown, regardless of the platform and Qt version.

      Found when updating Squish test tst_qml_js_console.

        Attachments

        1. 1604-5101.png
          1604-5101.png
          3 kB
        2. 1604-531.png
          1604-531.png
          4 kB
        3. 1604-541.png
          1604-541.png
          4 kB
        4. 1604-561.png
          1604-561.png
          3 kB
        5. 1710-5101.png
          1710-5101.png
          3 kB
        6. 1710-531.png
          1710-531.png
          3 kB
        7. 1710-541.png
          1710-541.png
          3 kB
        8. 1710-561.png
          1710-561.png
          3 kB

          Issue Links

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

            Activity

              People

              Assignee:
              ulherman Ulf Hermann
              Reporter:
              rlohning Robert Löhning
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes