From be434b6a8ec80c49d4a1b801120ca1314b5a5233 Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Thu, 21 Nov 2024 09:56:17 +0100 Subject: [PATCH] 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 --- src/plugins/boot2qt/qdbdevicedebugsupport.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/plugins/boot2qt/qdbdevicedebugsupport.cpp b/src/plugins/boot2qt/qdbdevicedebugsupport.cpp index 665de590702..a2ca2ce5d3d 100644 --- a/src/plugins/boot2qt/qdbdevicedebugsupport.cpp +++ b/src/plugins/boot2qt/qdbdevicedebugsupport.cpp @@ -136,14 +136,9 @@ void QdbDeviceDebugSupport::start() { setStartMode(Debugger::AttachToRemoteServer); setCloseMode(KillAndExitMonitorAtClose); - if (usesDebugChannel()) - setRemoteChannel(debugChannel()); - if (usesQmlChannel()) - setQmlServer(qmlChannel()); setUseContinueInsteadOfRun(true); setContinueAfterAttach(true); addSolibSearchDir("%{sysroot}/system/lib"); - DebuggerRunTool::start(); }