OSDN Git Service

QmlCpp Debugging: Only set C++ breakpoints after QML is connected
authorKai Koehne <kai.koehne@nokia.com>
Wed, 3 Aug 2011 12:48:56 +0000 (14:48 +0200)
committerKai Koehne <kai.koehne@nokia.com>
Thu, 4 Aug 2011 08:54:59 +0000 (10:54 +0200)
commit7c31bd660454bcf473012ac1f86f4bb4d4b038e7
treec7648f571322d2e31113eba75f6e179c37dfae4a
parent0697765fec84e6586f040bd9910c26168ee1d228
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 58faedc4e 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>
doc/qtcreator.qdoc
src/plugins/debugger/gdb/gdbengine.cpp
src/plugins/debugger/qml/qmlcppengine.cpp
src/plugins/debugger/qml/qmlcppengine.h