diff options
author | Erik Verbruggen <erik.verbruggen@digia.com> | 2014-07-04 17:01:02 +0200 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@digia.com> | 2014-08-08 10:45:12 +0200 |
commit | 6333e0913fc0078c0221a8909ced8df03a568992 (patch) | |
tree | 40661d956eb9a87ba3f695811de0e3c591ab7583 /src/qml/jsruntime/qv4debugging_p.h | |
parent | 94669499fd943fc72095afd739a21cd8e675f14f (diff) |
Add support for conditional breakpoints and evaluate.
Also centralized the context state saver and added line number saving, so that the
JS jobs for evaluation of breakpoint conditions don't change the state of the current
engine context.
Task-number: QTBUG-37119
Task-number: QTCREATORBUG-11516
Change-Id: Ia21b3d64e239e5b67f3c07e1c006d8e6748f29b6
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4debugging_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4debugging_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4debugging_p.h b/src/qml/jsruntime/qv4debugging_p.h index f834b8d15f..cedfee7f90 100644 --- a/src/qml/jsruntime/qv4debugging_p.h +++ b/src/qml/jsruntime/qv4debugging_p.h @@ -181,6 +181,8 @@ public: void collectReturnedValue(Collector *collector) const; QVector<ExecutionContext::ContextType> getScopeTypes(int frame = 0) const; + void evaluateExpression(int frameNr, const QString &expression, Collector *resultsCollector); + public: // compile-time interface void maybeBreakAtInstruction(); |