diff options
author | Erik Verbruggen <[email protected]> | 2013-11-14 14:16:50 +0100 |
---|---|---|
committer | The Qt Project <[email protected]> | 2013-11-14 14:43:38 +0100 |
commit | f0349e789a984de7646865b07c125a63406516bd (patch) | |
tree | 5985a6b19c14b72829dac4068d1c499a77478b4c /src/qml/jsruntime/qv4qobjectwrapper.cpp | |
parent | 0ca8351e261055984f82b28bd65e4e15c9820e73 (diff) |
V4 debugging: fix step-over and step-out.
- step-out: only stop if we’re leaving the context for the function we
previously stopped at, so intermediate calls between the current
position and the end do not stop the engine
- step-over: set breakpoints on all lines in current function and
continue to run. When hitting a breakpoint, see if we are in the same
context, because recursive calls might happen. Breakpoints on all
lines are needed, because the (pure) next line might be jumped over
(like when doing step-over a single-line then clause, where the next
line might be in the else clause).
Change-Id: Idf35dc740ca64fae5079162162906490a96af2a7
Reviewed-by: Lars Knoll <[email protected]>
Reviewed-by: Kai Koehne <[email protected]>
Diffstat (limited to 'src/qml/jsruntime/qv4qobjectwrapper.cpp')
0 files changed, 0 insertions, 0 deletions