QmlV8DebuggerClient: Refactored code

Change List:
a) Refactored code: Shifted JSON message creation to
QmlV8DebuggerClientPrivate.
b) QScriptEngine is used for JSON instead of JsonValue and
JsonInputStream.
c) Locals Window displays all variables accessible in the current
context.

Change-Id: I82e73f6c57482408f5fc501c908aa96297d3d754
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
Aurindam Jana
2011-10-26 10:02:37 +02:00
parent e9620aa3b1
commit f3c047a33c
10 changed files with 1474 additions and 580 deletions

View File

@@ -67,12 +67,12 @@ public:
void insertBreakpoint(const BreakpointModelId &id);
void removeBreakpoint(const BreakpointModelId &id);
void changeBreakpoint(const BreakpointModelId &id);
void updateBreakpoints();
void synchronizeBreakpoints();
void assignValueInDebugger(const QByteArray expr, const quint64 &id,
const QString &property, const QString &value);
void updateWatchData(const WatchData *data);
void updateWatchData(const WatchData &data);
void executeDebuggerCommand(const QString &command);
void synchronizeWatchers(const QStringList &watchers);
@@ -81,9 +81,6 @@ public:
void setEngine(QmlEngine *engine);
signals:
void notifyDebuggerStopped();
protected:
void messageReceived(const QByteArray &data);