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>
This commit is contained in:
Aurindam Jana
2012-04-16 12:00:23 +02:00
committed by hjk
parent b9661b0321
commit 459f00642b
8 changed files with 21 additions and 21 deletions

View File

@@ -106,7 +106,7 @@ static BreakpointParameters fixWinMSVCBreakpoint(const BreakpointParameters &p)
case WatchpointAtExpression:
case BreakpointAtSysCall:
case WatchpointAtAddress:
case BreakpointOnQmlSignalHandler:
case BreakpointOnQmlSignalEmit:
case BreakpointAtJavaScriptThrow:
break;
case BreakpointAtExec: { // Emulate by breaking on CreateProcessW().
@@ -164,7 +164,7 @@ QByteArray cdbAddBreakpointCommand(const BreakpointParameters &bpIn,
case BreakpointAtCatch:
case BreakpointAtThrow:
case BreakpointAtMain:
case BreakpointOnQmlSignalHandler:
case BreakpointOnQmlSignalEmit:
case BreakpointAtJavaScriptThrow:
QTC_ASSERT(false, return QByteArray(); )
break;