QmlDebugger: Assigning Qml breakpoints to the Qml Engine

Reviewed-by: hjk
This commit is contained in:
Christiaan Janssen
2010-11-23 16:12:16 +01:00
parent d1976d1959
commit a35170a854

View File

@@ -460,6 +460,13 @@ void QmlEngine::selectThread(int index)
void QmlEngine::attemptBreakpointSynchronization()
{
BreakHandler *handler = breakHandler();
foreach (BreakpointId id, handler->unclaimedBreakpointIds()) {
// Take ownership of the breakpoint. Requests insertion.
if (acceptsBreakpoint(id))
handler->setEngine(id, this);
}
//bool updateNeeded = false;
JSAgentBreakpoints breakpoints;
foreach (BreakpointId id, handler->engineBreakpointIds(this)) {