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()
|
void QmlEngine::attemptBreakpointSynchronization()
|
||||||
{
|
{
|
||||||
BreakHandler *handler = breakHandler();
|
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;
|
//bool updateNeeded = false;
|
||||||
JSAgentBreakpoints breakpoints;
|
JSAgentBreakpoints breakpoints;
|
||||||
foreach (BreakpointId id, handler->engineBreakpointIds(this)) {
|
foreach (BreakpointId id, handler->engineBreakpointIds(this)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user