diff options
author | Aurindam Jana <aurindam.jana@nokia.com> | 2011-12-29 13:15:12 +0100 |
---|---|---|
committer | Aurindam Jana <aurindam.jana@nokia.com> | 2012-01-09 16:18:35 +0100 |
commit | ed2f41bb585238c9fd9f9b7254ca7bcb5218b84c (patch) | |
tree | 9323f99ea5012938310879553d47092585b668db /src/plugins/debugger/qml/qmlv8debuggerclient.cpp | |
parent | ce5fc68c8d6ebc52a84b005d5feaffd6bff0a2e4 (diff) | |
download | qt-creator-ed2f41bb585238c9fd9f9b7254ca7bcb5218b84c.tar.gz |
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>
Diffstat (limited to 'src/plugins/debugger/qml/qmlv8debuggerclient.cpp')
-rw-r--r-- | src/plugins/debugger/qml/qmlv8debuggerclient.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/plugins/debugger/qml/qmlv8debuggerclient.cpp b/src/plugins/debugger/qml/qmlv8debuggerclient.cpp index 03afa154ae..8cea34b5d2 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); |