jsdebugger: use a real structure for a stack frame in the debuggeragent

This commit is contained in:
hjk
2010-10-27 17:36:39 +02:00
parent f93fe86be7
commit f51301585e
3 changed files with 67 additions and 46 deletions
@@ -69,8 +69,10 @@ QT_FORWARD_DECLARE_CLASS(QDeclarativeEngine);
namespace QmlJSDebugger {
class JSAgentWatchData;
class SetupExecEnv;
class QMLJSDEBUGGER_EXPORT JSDebuggerAgent : public QDeclarativeDebugService , public QScriptEngineAgent
class QMLJSDEBUGGER_EXPORT JSDebuggerAgent
: public QDeclarativeDebugService, public QScriptEngineAgent
{
Q_OBJECT
public:
@@ -110,9 +112,7 @@ public slots:
// void pauses();
private:
class SetupExecEnv;
friend class SetupExecEnv;
enum State {
NoState,
SteppingIntoState,
@@ -136,8 +136,6 @@ private:
QSet< QPair<QString, qint32> > breakpointList;
QStringList watchExpressions;
QSet<qint64> knownObjectIds;
Q_DISABLE_COPY(JSDebuggerAgent)
};
} // namespace QmlJSDebugger