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

[REG 3.6 -> 4.0] Debugger Console is unusable for Qt Quick

    XMLWordPrintable

Details

    • a615176a0cd2e48b95de189316b48257af1e99d4

    Description

      1. Create a new Qt Quick UI project.
        I use this as an example. The symptoms are mostly the same for a Qt Quick Application.
      2. Run this in the debugger.
      3. If you see a warning because of QTCREATORBUG-15829, close it with "OK".
      4. Open the Debugger Console.
      5. In Locals and Expressions view, select an item, e.g. the Text item.
        The Debugger Console will show "Context: Text".
      6. Type "text" into the Debugger Console and press Enter.
        The Debugger Console will write: "The application has to be paused in order to evaluate expressions". Creator 3.6 had displayed the value of the the text property.
      7. Do as you're told, pause the application.
      8. Type "text" into the Debugger Console and press Enter.
        The Debugger Console will write: "Cannot evaluate text. The stack trace is broken."

      So you can't access properties using the Debugger Console anymore, neither when the application is running nor when it is paused. In addition, the error message in step 6 is wrong.

      It should be possible again to access the properties in QML items using the Debugger Console.

      Found by Squish test tst_qml_js_console.

      Attachments

        Issue Links

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

          Activity

            People

              hjk hjk
              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