forked from qt-creator/qt-creator
QmlDebugger: Assigning Qml breakpoints to the Qml Engine
Reviewed-by: hjk
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user