aboutsummaryrefslogtreecommitdiffstats
path: root/qmljs_engine.cpp
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@digia.com>2012-11-29 14:41:26 +0100
committerLars Knoll <lars.knoll@digia.com>2012-11-29 22:05:49 +0100
commita14e7549c4a3faece3474f059b2d04005cfc7cbf (patch)
tree3ce4903154e98aec5d952e5cdd067a7cb1b33aff /qmljs_engine.cpp
parent36356a4b273e19ca599bf2a0cbfb02fda69e6c0a (diff)
Add some debugging infrastructure to the interpreter.
This currently mainly intended to be useful in a C++ debugger. The infrastructure makes it a lot easier to access (parent) contexts, find function names, etc. Change-Id: I0493d3a3bd4bf5c3a03379c1a2b545ed76862cd5 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'qmljs_engine.cpp')
-rw-r--r--qmljs_engine.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qmljs_engine.cpp b/qmljs_engine.cpp
index a1b3256fc7..1609559659 100644
--- a/qmljs_engine.cpp
+++ b/qmljs_engine.cpp
@@ -62,6 +62,7 @@ struct StringPool
ExecutionEngine::ExecutionEngine(EvalISelFactory *factory)
: iselFactory(factory)
+ , debugger(0)
{
stringPool = new StringPool;