summaryrefslogtreecommitdiffstats
path: root/src/script/api/qscriptengine_p.h
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-08-20 13:55:13 (GMT)
committerKent Hansen <khansen@trolltech.com>2009-08-20 13:55:13 (GMT)
commit6fec99fd1fc256437c5c651209084f479005a7a7 (patch)
tree91b2369cf4d8e0a5160b1b0ed87458627c8ab25a /src/script/api/qscriptengine_p.h
parent909512e0f0ab2a11d0c4ecdaef957ad7a5c58292 (diff)
downloadQt-6fec99fd1fc256437c5c651209084f479005a7a7.zip
Qt-6fec99fd1fc256437c5c651209084f479005a7a7.tar.gz
Qt-6fec99fd1fc256437c5c651209084f479005a7a7.tar.bz2
provide line number information for innermost call frame
For the innermost frame, we don't have a returnPC, so use the line number that was last passed to the engine agent.
Diffstat (limited to 'src/script/api/qscriptengine_p.h')
-rw-r--r--src/script/api/qscriptengine_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/api/qscriptengine_p.h b/src/script/api/qscriptengine_p.h
index cf773b6..8a7dd1a 100644
--- a/src/script/api/qscriptengine_p.h
+++ b/src/script/api/qscriptengine_p.h
@@ -239,6 +239,7 @@ public:
QList<QScriptEngineAgent*> ownedAgents;
QScriptEngineAgent *activeAgent;
+ int agentLineNumber;
QHash<JSC::JSCell*, QBasicAtomicInt> keepAliveValues;
QHash<int, QScriptTypeInfo*> m_typeInfos;
int processEventsInterval;