QmlDbg: Don't wait infinitely for messages on application output
We only connect to the port when we get a 'Waiting for connection ...' message on application output. This was done mainly to avoid lots of failed connects, and therefore an unresponsive UI on Windows. However, the application output might be redirected for various reasons. Therefore fall back to busy connect after a certain time (4 seconds for profiling, 8 seconds for debugging). Change-Id: Ie1b943f678ced40c030cc134493a2adf7e3bc9df Reviewed-on: http://codereview.qt.nokia.com/2323 Reviewed-by:Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by:
Christiaan Janssen <christiaan.janssen@nokia.com>
Showing
- src/plugins/debugger/qml/qmlengine.cpp 20 additions, 3 deletionssrc/plugins/debugger/qml/qmlengine.cpp
- src/plugins/debugger/qml/qmlengine.h 1 addition, 0 deletionssrc/plugins/debugger/qml/qmlengine.h
- src/plugins/qmlprofiler/qmlprofilerengine.cpp 20 additions, 2 deletionssrc/plugins/qmlprofiler/qmlprofilerengine.cpp
- src/plugins/qmlprofiler/qmlprofilerengine.h 1 addition, 0 deletionssrc/plugins/qmlprofiler/qmlprofilerengine.h
Loading
Please register or sign in to comment