QmlCpp Debugging: Only set C++ breakpoints after QML is connected
If one hits a C++ breakpoint before the QmlEngine is properly set up the debugging actions are all disabled. Patch 58faedc4 tried to fix this by automatically executing continue in these cases, but this let to errors on Mac OS X. Instead just delay the setting of C++ breakpoints. Task-number: QTCREATORBUG-5681 Change-Id: I149dea9b453ed7abd33a1a93b5b546d7c6cda8fd Reviewed-on: http://codereview.qt.nokia.com/2568 Reviewed-by:Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by:
Christiaan Janssen <christiaan.janssen@nokia.com>
Showing
- doc/qtcreator.qdoc 7 additions, 0 deletionsdoc/qtcreator.qdoc
- src/plugins/debugger/gdb/gdbengine.cpp 2 additions, 1 deletionsrc/plugins/debugger/gdb/gdbengine.cpp
- src/plugins/debugger/qml/qmlcppengine.cpp 16 additions, 34 deletionssrc/plugins/debugger/qml/qmlcppengine.cpp
- src/plugins/debugger/qml/qmlcppengine.h 0 additions, 3 deletionssrc/plugins/debugger/qml/qmlcppengine.h
Loading
Please register or sign in to comment