Android: Send suspend/resume instead of threads in handleJdbSettled

"threads" causes an exception in my jdb on my machine. "suspend" and
"resume" do not, and they also cause enough delay for JDB to settle.

Change-Id: I5297d720c5fdbe5ee2eaa421624491af50bc40bf
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
Alessandro Portale
2024-03-05 21:14:52 +01:00
parent 97db1645ad
commit db307978bf

View File

@@ -782,7 +782,7 @@ void AndroidRunnerWorker::handleJdbSettled()
return false; return false;
}; };
const QStringList commands{"threads", "cont", "exit"}; const QStringList commands{"suspend", "resume", "cont", "exit"};
for (const QString &command : commands) { for (const QString &command : commands) {
if (waitForCommand()) { if (waitForCommand()) {