Commit 315e18d7 authored by Kai Koehne's avatar Kai Koehne
Browse files

QmlJsDebug: Fix regression in list of breakpoints

Allow more than one breakpoint per compilation unit.
parent f6e26afc
......@@ -482,7 +482,7 @@ void JSDebuggerAgentPrivate::messageReceived(const QByteArray &message)
fileNameToBreakpoints.clear();
foreach (const JSAgentBreakpointData &bp, breakpoints) {
fileNameToBreakpoints.insert(fileName(bp.fileUrl), bp);
fileNameToBreakpoints.insertMulti(fileName(bp.fileUrl), bp);
}
//qDebug() << "BREAKPOINTS";
......
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