Skip to content
  • Christiaan Janssen's avatar
    QmlProfiler: Detect interrupted execution · 342f6842
    Christiaan Janssen authored
    
    
    Task-number: QTCREATORBUG-8022
    
    The profiler would switch to state "AppKilled" if the connection was
    cut before all the profiling data could be read.  With Qt4.8, however,
    the application dies before any data is sent at all, and such state
    would never be reached.  This patch fixes the flow of states and
    properly detects when an application started profiling successfully
    but dies before delivering the data.  If the application doesn't run
    at all (for example, launching a QtQuick1.1 app from Qt5), the
    profiler fails gracefully without showing the error dialog.
    
    Change-Id: I6fc53127b5dfe41de112e140b77895d430d3f79c
    Reviewed-by: default avatarKai Koehne <kai.koehne@digia.com>
    342f6842