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

[REG Qt 5.5.1 -> Qt 5.6.0] "Locals and Expressions" can't access "this" in JavaScript after stepping

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 4.0.0-rc1
    • Qt Creator 3.6.1
    • None
    • Windows 7 64 bit
      MSVC2013
      cdb 6.12
      Creator built on Qt 5.5.1, Creator built on Qt 5.6.0
    • a28f73971a0497504d5aee01f791871a404bb381

    Description

      1. Open the Samegame demo from qtdeclarative\examples\quick\demos\samegame.
        It doesn't matter whether you use the .pro or the .qmlproject file.
      2. Set a breakpoint in the first line of the function startNewGame(...).
      3. Run the demo on Qt 5.6.
      4. In the demo, click "1 Player".
        The breakpoint will be hit.
      5. In "Locals and Expression", expand the "this" pointer.
        You can see all the members now.
      6. Step forward.
        The members of "this" are gone and you can't expand the "this" pointer anymore.

      It should always be possible to expand and collapse the "this" pointer. When the app is running on Qt 5.5.1, this works correctly.

      If this is a bug in Qt, please forward it accordingly.

      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:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes