Uploaded image for project: 'Qt Creator'
  1. Qt Creator

QmlProfiler: Fails to correctly stop if all categories are disabled



    • Type: Bug
    • Status: Open
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: Qt Creator 4.10.0-beta2
    • Fix Version/s: None
    • Component/s: QML Profiler
    • Labels:
    • Platform/s:


      Steps to reproduce:

      • open/create a simple Qml or QtQuick Application to be able to profile something
      • switch to Debug view and select QmlProfiler
      • open the drop down menu of the record button (the red bubble) and disable the categories one by one..
      • start profiling
      • profiler starts
      • stop the application by using either the stop button or the applications close mechanism

      Current result:

      • profiling seems to stop, but the Stop button keeps being enabled, the profiling data seems not to become available (timeline and others keep displaying 'Profiling application')
      • Stop button can be pressed again and again, but the application seems to be still running - command line prints
        Unexpected initiateStop() in state "RunControlState::Stopping"
        Invalid run control state transition from  "RunControlState::Stopping"  to  "RunControlState::Stopping" 
      • you have to kill the application either from the cmdline or use the stop button from the application output pane
      • the next profiling attempt will fail
        Could not connect to the in-process QML profiler within 2 s.
        Do you want to retry and wait 4 s? 

        , but when canceling this one the profiling attempt after the failed one will succeed again


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



            • Assignee:
              ulherman Ulf Hermann
              cstenger Christian Stenger
            • Votes:
              0 Vote for this issue
              2 Start watching this issue


              • Created:

                Gerrit Reviews

                There are no open Gerrit changes