QML Debugging: Fix crash when stepping through try-catch block.
authorErik Verbruggen <erik.verbruggen@digia.com>
Fri, 5 Dec 2014 12:16:14 +0000 (13:16 +0100)
committerErik Verbruggen <erik.verbruggen@theqtcompany.com>
Tue, 9 Dec 2014 10:55:04 +0000 (11:55 +0100)
commit8397f640e81f0eff1f6f32ae4a35d40f115ea339
tree2bb50bc6be262979cb9e7c49f02d96cbc5c50be5
parent4524856ae21f85d572155c8a399d43116143e25c
QML Debugging: Fix crash when stepping through try-catch block.

Also fix the stack-trace generation, otherwise the debugger engine would
report a breakpoint hit on the wrong line.

Task-number: QTBUG-42723
Change-Id: I1f655a5174b28a1c9c31c85bbe023fbce5ddbb96
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/jsruntime/qv4context_p.h
src/qml/jsruntime/qv4debugging.cpp
src/qml/jsruntime/qv4engine.cpp
src/qml/jsruntime/qv4functionobject_p.h
tests/auto/qml/qv4debugger/tst_qv4debugger.cpp