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

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated 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

      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.

        For Gerrit Dashboard: QTCREATORBUG-15747
        # Subject Branch Project Status CR V

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