aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4objectiterator.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <[email protected]>2014-12-19 12:39:21 +0100
committerSimon Hausmann <[email protected]>2014-12-19 16:30:13 +0100
commitb50278bda4df94550bfbe5663ddebcd4b0f9734f (patch)
tree44b2f0ad631781b0aadde713c342e299542b1860 /src/qml/jsruntime/qv4objectiterator.cpp
parent0de16adf3d48f56e7556df392c38bcfd2b8c9796 (diff)
Fix GC crash with conditional breakpoints and JS console
We may choose to execute an expression in a specific frame within the debugger, which is where we pop context's until we reached the frame in question. If we are trying to execute an expression at the top of the stack (or with a conditional breakpoint expression), then we don't have a frame and don't need to pop contexts. But also also don't need to call Scope::alloc(-1). Change-Id: I1f6754a3d77d943aed9bf4468e817a5269a3c547 Reviewed-by: Simon Hausmann <[email protected]>
Diffstat (limited to 'src/qml/jsruntime/qv4objectiterator.cpp')
0 files changed, 0 insertions, 0 deletions