diff options
author | Aurindam Jana <aurindam.jana@nokia.com> | 2012-04-16 12:00:23 +0200 |
---|---|---|
committer | hjk <qthjk@ovi.com> | 2012-04-16 12:40:59 +0200 |
commit | 459f00642bd53604b4b5a6eb4f684f262f6c55ad (patch) | |
tree | e1ccedf30ee1b691aa924dfdd6e2aca1798857d9 /src/plugins/debugger/breakwindow.cpp | |
parent | b9661b0321b0dbcf98939965325471ed0ad266e9 (diff) | |
download | qt-creator-459f00642bd53604b4b5a6eb4f684f262f6c55ad.tar.gz |
QmlDebugger: Refactor QML Signal Handler
Refactor QML Signal Handler to QML Signal Emit. This is because the
debugger breaks when a matching signal is emitted irrespective of
whether there is a handler connected to the signal.
Change-Id: I852ace75c1962290717ed127ac5938d7505b9a7e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/plugins/debugger/breakwindow.cpp')
-rw-r--r-- | src/plugins/debugger/breakwindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/debugger/breakwindow.cpp b/src/plugins/debugger/breakwindow.cpp index 63856af81f..bb06f4e2fb 100644 --- a/src/plugins/debugger/breakwindow.cpp +++ b/src/plugins/debugger/breakwindow.cpp @@ -122,7 +122,7 @@ BreakpointDialog::BreakpointDialog(BreakpointModelId id, QWidget *parent) << tr("Break when a system call is executed") << tr("Break on data access at fixed address") << tr("Break on data access at address given by expression") - << tr("Break on QML signal handler") + << tr("Break on QML signal emit") << tr("Break when JavaScript exception is thrown"); QTC_ASSERT(types.size() == BreakpointAtJavaScriptThrow, return); @@ -374,7 +374,7 @@ void BreakpointDialog::typeChanged(int) case WatchpointAtExpression: getParts(ExpressionPart|AllConditionParts|TracePointPart, &m_savedParameters); break; - case BreakpointOnQmlSignalHandler: + case BreakpointOnQmlSignalEmit: getParts(FunctionPart, &m_savedParameters); } @@ -421,7 +421,7 @@ void BreakpointDialog::typeChanged(int) setPartsEnabled(ExpressionPart|AllConditionParts|TracePointPart|TracePointPart); clearOtherParts(ExpressionPart|AllConditionParts|TracePointPart); break; - case BreakpointOnQmlSignalHandler: + case BreakpointOnQmlSignalEmit: setParts(FunctionPart, m_savedParameters); setPartsEnabled(FunctionPart); clearOtherParts(FunctionPart); |