Commit a35170a8 authored by Christiaan Janssen's avatar Christiaan Janssen
Browse files

QmlDebugger: Assigning Qml breakpoints to the Qml Engine

Reviewed-by: hjk
parent d1976d19
......@@ -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)) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment