forked from qt-creator/qt-creator
QmlDebugging: Remove BreakpointByFunction
Remove BreakpointByFunction capability as it is not supported by the v8debugservice. Change-Id: I60e3d0d6f5669f83fa621cd99f25512cad3dbb96 Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
@@ -1054,7 +1054,6 @@ bool QmlV8DebuggerClient::acceptsBreakpoint(const BreakpointModelId &id)
|
||||
{
|
||||
BreakpointType type = d->engine->breakHandler()->breakpointData(id).type;
|
||||
return (type == BreakpointOnQmlSignalHandler
|
||||
|| type == BreakpointByFunction
|
||||
|| type == BreakpointByFileAndLine
|
||||
|| type == BreakpointAtJavaScriptThrow);
|
||||
}
|
||||
@@ -1079,11 +1078,6 @@ void QmlV8DebuggerClient::insertBreakpoint(const BreakpointModelId &id)
|
||||
QLatin1String(params.condition), params.ignoreCount);
|
||||
}
|
||||
|
||||
} else if (params.type == BreakpointByFunction) {
|
||||
d->setBreakpoint(QString(_(FUNCTION)), params.functionName,
|
||||
-1, -1, params.enabled, QLatin1String(params.condition),
|
||||
params.ignoreCount);
|
||||
|
||||
} else if (params.type == BreakpointOnQmlSignalHandler) {
|
||||
d->setBreakpoint(QString(_(EVENT)), params.functionName,
|
||||
-1, -1, params.enabled);
|
||||
|
||||
Reference in New Issue
Block a user