summaryrefslogtreecommitdiffstats
path: root/src/scripttools/debugging/qscriptdebuggerbackend_p_p.h
diff options
context:
space:
mode:
authorJoel Nordell <joel.nordell@chloridepower.com>2009-06-17 13:26:41 (GMT)
committerKent Hansen <khansen@trolltech.com>2009-06-17 13:44:46 (GMT)
commit5af2e06cb543bd27450c29a1fca8686413f1cceb (patch)
treecb0a085c640d30813f58b3e43acfdf81396ac0f7 /src/scripttools/debugging/qscriptdebuggerbackend_p_p.h
parent30d6ac5feeb43b32eccc72595fe9a2c89d0f5c1e (diff)
downloadQt-5af2e06cb543bd27450c29a1fca8686413f1cceb.zip
Qt-5af2e06cb543bd27450c29a1fca8686413f1cceb.tar.gz
Qt-5af2e06cb543bd27450c29a1fca8686413f1cceb.tar.bz2
fix crash when detach()ing a debugger and then evaluating script print() function
Merge-request: 554 Reviewed-by: Kent Hansen <khansen@trolltech.com>
Diffstat (limited to 'src/scripttools/debugging/qscriptdebuggerbackend_p_p.h')
-rw-r--r--src/scripttools/debugging/qscriptdebuggerbackend_p_p.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/scripttools/debugging/qscriptdebuggerbackend_p_p.h b/src/scripttools/debugging/qscriptdebuggerbackend_p_p.h
index de18304..a356762 100644
--- a/src/scripttools/debugging/qscriptdebuggerbackend_p_p.h
+++ b/src/scripttools/debugging/qscriptdebuggerbackend_p_p.h
@@ -57,6 +57,7 @@
#include <QtCore/qhash.h>
#include <QtCore/qlist.h>
+#include <QtScript/qscriptvalue.h>
#include "qscriptdebuggerbackend_p.h"
@@ -66,7 +67,6 @@ class QEvent;
class QString;
class QScriptContext;
class QScriptEngine;
-class QScriptValue;
class QScriptValueIterator;
class QScriptObjectSnapshot;
class QScriptDebuggerAgent;
@@ -126,6 +126,10 @@ public:
QObject *eventReceiver;
QScriptDebuggerBackend *q_ptr;
+
+ QScriptValue origTraceFunction;
+ QScriptValue origFileNameFunction;
+ QScriptValue origLineNumberFunction;
};
QT_END_NAMESPACE