Add support for conditional breakpoints and evaluate.
authorErik Verbruggen <erik.verbruggen@digia.com>
Fri, 4 Jul 2014 15:01:02 +0000 (17:01 +0200)
committerErik Verbruggen <erik.verbruggen@digia.com>
Fri, 8 Aug 2014 08:45:12 +0000 (10:45 +0200)
commit6333e0913fc0078c0221a8909ced8df03a568992
tree40661d956eb9a87ba3f695811de0e3c591ab7583
parent94669499fd943fc72095afd739a21cd8e675f14f
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>
src/qml/compiler/qv4codegen.cpp
src/qml/debugger/qv4debugservice.cpp
src/qml/jsruntime/qv4debugging.cpp
src/qml/jsruntime/qv4debugging_p.h
src/qml/jsruntime/qv4globalobject.cpp
src/qml/jsruntime/qv4script.cpp
src/qml/jsruntime/qv4script_p.h
tests/auto/qml/debugger/qqmldebugjs/tst_qqmldebugjs.cpp
tests/auto/qml/qv4debugger/tst_qv4debugger.cpp