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

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

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes