Changed the behaviour of setting breakpoints in qml files.

Delegates setting of breakpoints to functions that set/reset/change the breakpoint one at a time.
Change-Id: I553a74b05cf19c9d2436344db67bc962da18457f
Reviewed-on: http://codereview.qt.nokia.com/3082
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
This commit is contained in:
Aurindam Jana
2011-08-17 11:47:42 +02:00
parent 2f92eae7bc
commit 1b2f1f102e
7 changed files with 142 additions and 82 deletions

View File

@@ -61,9 +61,10 @@ public:
void activateFrame(int index);
void insertBreakpoints(BreakHandler *handler, BreakpointModelId *id);
void removeBreakpoints(BreakpointModelId *id);
void setBreakpoints();
void insertBreakpoint(BreakpointModelId id, BreakHandler *handler);
void removeBreakpoint(BreakpointModelId id, BreakHandler *handler);
void changeBreakpoint(BreakpointModelId id, BreakHandler *handler);
void updateBreakpoints();
void assignValueInDebugger(const QByteArray expr, const quint64 &id,
const QString &property, const QString value);
@@ -74,7 +75,6 @@ public:
void synchronizeWatchers(const QStringList &watchers);
void expandObject(const QByteArray &iname, quint64 objectId);
void sendPing();
void setEngine(QmlEngine *engine);
@@ -84,6 +84,9 @@ signals:
protected:
void messageReceived(const QByteArray &data);
private:
void sendPing();
private:
QScriptDebuggerClientPrivate *d;
friend class QScriptDebuggerClientPrivate;