Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
Qt Creator 4.10.0-beta2
Description
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