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

console.info messages are not shown in Debugger Console

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • Qt Creator 4.6.1
    • Qt Creator 4.6.0-rc1
    • Debugger
    • Ubuntu 64 bit (see details in description)
    • 89d32d1efdb10b0926dfbe98e929357269596fc1

      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.

        1. 1604-531.png
          4 kB
          Robert Löhning
        2. 1604-5101.png
          3 kB
          Robert Löhning
        3. 1604-541.png
          4 kB
          Robert Löhning
        4. 1604-561.png
          3 kB
          Robert Löhning
        5. 1710-5101.png
          3 kB
          Robert Löhning
        6. 1710-531.png
          3 kB
          Robert Löhning
        7. 1710-541.png
          3 kB
          Robert Löhning
        8. 1710-561.png
          3 kB
          Robert Löhning
        For Gerrit Dashboard: QTCREATORBUG-20117
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes