forked from qt-creator/qt-creator
Debugger: Change BreakpointOnSignalHandler to BreakpointOnQMLSignalHandler
Change-Id: Ic71299c38863cdb55862ced7348b2bdc9cf39555 Reviewed-on: http://codereview.qt-project.org/5743 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com> Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
@@ -315,7 +315,7 @@ void QmlV8DebuggerClient::activateFrame(int index)
|
||||
bool QmlV8DebuggerClient::acceptsBreakpoint(const BreakpointModelId &id)
|
||||
{
|
||||
BreakpointType type = d->engine->breakHandler()->breakpointData(id).type;
|
||||
return ((type == BreakpointOnSignalHandler) || (type == BreakpointByFunction));
|
||||
return (type == BreakpointOnQmlSignalHandler || type == BreakpointByFunction);
|
||||
}
|
||||
|
||||
void QmlV8DebuggerClient::insertBreakpoint(const BreakpointModelId &id)
|
||||
@@ -333,7 +333,7 @@ void QmlV8DebuggerClient::insertBreakpoint(const BreakpointModelId &id)
|
||||
} else if (handler->breakpointData(id).type == BreakpointByFunction) {
|
||||
JsonInputStream(request) << "type" << ':' << "function";
|
||||
JsonInputStream(request) << ',' << "target" << ':' << handler->functionName(id).toUtf8();
|
||||
} else if (handler->breakpointData(id).type == BreakpointOnSignalHandler) {
|
||||
} else if (handler->breakpointData(id).type == BreakpointOnQmlSignalHandler) {
|
||||
JsonInputStream(request) << "type" << ':' << "event";
|
||||
JsonInputStream(request) << ',' << "target" << ':' << handler->functionName(id).toUtf8();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user