Debugger: Clean pending lookup requests when preparing a step

This avoids accumulating lookup requests when stepping quickly.
They won't produce usable output anymore.

Change-Id: I9e29ca1778019e3eab37d122386d3faf0e07edbf
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
hjk
2016-04-14 10:38:35 +02:00
parent 0a9e40dc9d
commit 7080645d20
2 changed files with 8 additions and 0 deletions

View File

@@ -768,6 +768,12 @@ void QmlEngine::insertBreakpoint(Breakpoint bp)
d->breakpointsSync.insert(d->sequence, bp.id());
}
void QmlEngine::resetLocation()
{
DebuggerEngine::resetLocation();
d->currentlyLookingUp.clear();
}
void QmlEngine::removeBreakpoint(Breakpoint bp)
{
const BreakpointParameters &params = bp.parameters();