forked from qt-creator/qt-creator
debugger: split BreakpointIndex into plugin and debugger specific part
Change-Id: I21d10cf42eb039c74475e106537b6e107d155196 Reviewed-on: http://codereview.qt.nokia.com/745 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -447,7 +447,7 @@ void ScriptEngine::selectThread(int index)
|
||||
Q_UNUSED(index)
|
||||
}
|
||||
|
||||
bool ScriptEngine::acceptsBreakpoint(BreakpointId id) const
|
||||
bool ScriptEngine::acceptsBreakpoint(BreakpointModelId id) const
|
||||
{
|
||||
const QString fileName = breakHandler()->fileName(id);
|
||||
return fileName.endsWith(QLatin1String(".js"));
|
||||
@@ -622,7 +622,7 @@ bool ScriptEngine::checkForBreakCondition(bool byFunction)
|
||||
if (byFunction && functionName.isEmpty())
|
||||
return false;
|
||||
BreakHandler *handler = breakHandler();
|
||||
BreakpointId id = byFunction ?
|
||||
BreakpointModelId id = byFunction ?
|
||||
handler->findBreakpointByFunction(functionName) :
|
||||
handler->findBreakpointByFileAndLine(fileName, lineNumber, false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user