Only one break point can be set per file when running against a server

When the client sends a list of breakpoints over to the server, the logic that applies the breakpoints as soon as a file is loaded is broken. It stops looking at breakpoints as soon as it finds the first one. It should carry on and look at all of them.
Esse commit está contido em:
Herman Venter
2013-07-16 16:01:22 -07:00
commit de Sara Golemon
commit b03f72d185
-1
Ver Arquivo
@@ -166,7 +166,6 @@ static void addBreakPointsInFile(Eval::DebuggerProxy* proxy,
Eval::BreakPointInfoPtr bp = bps[i];
if (Eval::BreakPointInfo::MatchFile(bp->m_file, efile->getFileName())) {
addBreakPointInUnit(bp, efile->unit());
break;
}
}
}