Android: revert to using 'threads' in handleJdbSettled

But this time ignore unhandled exceptions which were caused by the
'threads' command in certain situations.

Amends db307978bf

Change-Id: I50819306eeb392ebae8dc869694ed588739c44fb
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Cristian Adam
2024-03-07 17:06:14 +01:00
parent e71de0d0c1
commit 47018e59d2

View File

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