diff --git a/src/plugins/debugger/qml/qmlv8debuggerclient.cpp b/src/plugins/debugger/qml/qmlv8debuggerclient.cpp index 03afa154ae0330ce044eb0901d5d02ca72a43782..8cea34b5d2fa321d2ac18afd324b84aff2d9adcb 100644 --- a/src/plugins/debugger/qml/qmlv8debuggerclient.cpp +++ b/src/plugins/debugger/qml/qmlv8debuggerclient.cpp @@ -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);