DAP: Fix start CMake debug mode

Change-Id: I2951142736b0e6ccf2b08a7bd78b08b1e96bca6f
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Artem Sokolovskii
2023-07-14 11:07:56 +02:00
parent c43a2ee1c4
commit 4a0a6f07e7
4 changed files with 3 additions and 12 deletions

View File

@@ -1724,7 +1724,6 @@ RunControl *DebuggerPluginPrivate::attachToRunningProcess(Kit *kit,
debugger->setStartMode(AttachToLocalProcess);
debugger->setCloseMode(DetachAtClose);
debugger->setContinueAfterAttach(contAfterAttach);
debugger->setCmakeDapDebugging(processInfo.executable.endsWith(QLatin1String("cmake")));
debugger->startRunControl();