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

JavaScript debugger does not show locals and expressions (Qt Quick 1)

    XMLWordPrintable

Details

    Description

      1. Open demos/declarative/samegame/samegame.qmlproject from a Qt4 repository.
      2. Select qmlviewer for running the project.
      3. Place a breakpoint in startNewGame() at the line:
        createBlock(column, row);
        

        For me, this is line 50 in samegame.js.

      4. Start debugging.
      5. In the app, click "New Game".
        The breakpoint is being hit.
      6. Step over.
        "Locals and Expressions" view becomes empty.
      7. Step over.
        "Locals and Expressions" gets some content again.
      8. Step over.
        "Locals and Expressions" view becomes empty again.

      "Locals and Expressions" should always display what it promises.

      Attachments

        Activity

          People

            kkohne Kai Köhne
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: