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

Add visualizer for QQmlJSScope

    XMLWordPrintable

Details

    Description

      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

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes