forked from qt-creator/qt-creator
Boot2Qt: Simplify QdbDeviceDebugSupport
Remove setting the remote channel and qml server. This is already done by its superclass, inside: DebuggerRunTool::continueAfterTerminalStart(). Task-number: QTCREATORBUG-29168 Change-Id: I9ed25599d0da920af2eee7908e127cc0e3f46805 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -136,14 +136,9 @@ void QdbDeviceDebugSupport::start()
|
|||||||
{
|
{
|
||||||
setStartMode(Debugger::AttachToRemoteServer);
|
setStartMode(Debugger::AttachToRemoteServer);
|
||||||
setCloseMode(KillAndExitMonitorAtClose);
|
setCloseMode(KillAndExitMonitorAtClose);
|
||||||
if (usesDebugChannel())
|
|
||||||
setRemoteChannel(debugChannel());
|
|
||||||
if (usesQmlChannel())
|
|
||||||
setQmlServer(qmlChannel());
|
|
||||||
setUseContinueInsteadOfRun(true);
|
setUseContinueInsteadOfRun(true);
|
||||||
setContinueAfterAttach(true);
|
setContinueAfterAttach(true);
|
||||||
addSolibSearchDir("%{sysroot}/system/lib");
|
addSolibSearchDir("%{sysroot}/system/lib");
|
||||||
|
|
||||||
DebuggerRunTool::start();
|
DebuggerRunTool::start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user