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

Check that application to be profiled has the debug settings

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P2: Important
    • None
    • None
    • Quick / QML Support

    Description

      The profiler relies on the user having enabled qml debugging in the application, although this is not strictly necessary. The jsdebuggeragent and the qmlobserver are not necessary (and they even slow down the app if enabled), but qdeclarativedebughelper is needed, since that is the one that sends the profiling information.
      This can be done by defining QMLJSDEBUGGER and NO_QMLOBSERVER in the app's project file, but has to be done by the user manually.

      The course of action here is: factor out the connection code used in the QmlEngine for debugging, for it to be used too by the profiler with the advantage that it already detects if debugging is enabled. Then, show some error message when it's not.

      Attachments

        Issue Links

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

          Activity

            People

              cjanssen Christiaan Janssen (Inactive)
              cjanssen Christiaan Janssen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes