diff options
author | Lasse Holmstedt <[email protected]> | 2010-08-13 14:18:10 +0200 |
---|---|---|
committer | Lasse Holmstedt <[email protected]> | 2010-08-13 14:20:39 +0200 |
commit | b71c3c62ba3b4264de05e0e18ab68fd0a8e8ba52 (patch) | |
tree | 8503c49137889f97724165d44e94b9d7970d8962 /src/plugins/debugger/debuggerrunner.cpp | |
parent | 5de57ddad398e2da73dc5c2542270e3a64c3690c (diff) |
QML Debugger refactoring
Now, QmlEngine creates the connection to the inferior (debuggee), and
notifies QmlInspector when a connection is established. Before,
inspector created the debugger engin, which was wrong.
QmlEngine's responsibilities are connecting to the debuggee and basic
QML/JS debugging features like locals & watchers, breakpoints etc.
QmlInspector takes care of Live Preview and other fancy inspection
features.
Reviewed-by: hjk
Diffstat (limited to 'src/plugins/debugger/debuggerrunner.cpp')
-rw-r--r-- | src/plugins/debugger/debuggerrunner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/debuggerrunner.cpp b/src/plugins/debugger/debuggerrunner.cpp index 6d6fed29eb7..f2e6eb8d7fe 100644 --- a/src/plugins/debugger/debuggerrunner.cpp +++ b/src/plugins/debugger/debuggerrunner.cpp @@ -331,7 +331,7 @@ void DebuggerRunControl::createEngine(const DebuggerStartParameters &sp) QString errorMessage; QString settingsIdHint; - if (sp.executable.endsWith(_("qmlviewer"))) + if (sp.executable.endsWith(_("qmlviewer")) || sp.executable.endsWith(_("qmlobserver"))) engineType = QmlEngineType; else if (sp.executable.endsWith(_(".js"))) engineType = ScriptEngineType; |