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

The QML debugger should allow exploring the scope hierarchy when stopped in a break point

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • None
    • None

    Description

      Every statement in a JavaScript program is enclosed in a hierarchy of nested scopes, from which the variables declared there are visible to the statement. The QML debugger currently has no way of exploring those scopes and their members.

      Instead we are apparently trying to shoehorn as much scope as possible into the implicit "this" variable by modifying the QML language and setting "this" to whatever object seems convenient at that point. So far this hasn't led to major disaster, but we should really recognize that scopes and "this" are different concepts in JavaScript, and treat them as such in the debugger.

      Attachments

        Issue Links

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

          Activity

            People

              ulherman Ulf Hermann
              ulherman Ulf Hermann
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes