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:
Aurindam Jana
2011-12-29 13:15:12 +01:00
parent ce5fc68c8d
commit ed2f41bb58

View File

@@ -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);