Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-92582

Add visualizer for QQmlJSScope

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • 6.x
    • None
    • QML: Tooling

      Since QQmlJSScope hierarchies are fairly complicated, some way to dump them into a file and visualize would be very beneficial for debugging purposes.

      One approach (and perhaps the most popular) would be to use graphviz [1] (e.g. DOT format [2]).

      What info is probably interesting (each graph node is a QQmlJSScope?):

      • internalName() and baseTypeName()
      • file name (albeit not extremely useful)
      • own properties (property name, type name, attributes?)
      • own methods
      • enums
      • js identifiers?
      • ...

      [1]: https://www.graphviz.org/about/
      [2]: https://www.graphviz.org/doc/info/lang.html

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

            qtqmlteam Qt Qml Team User
            agolubev Andrei Golubev
            Alex Blasche Alex Blasche
            Maurice Kalinowski Maurice Kalinowski
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes