mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[debugger] Do not fail "Attach to process" if some clients throw errors.
Merge-request: IJ-MR-164077 Merged-by: Maria Sokolova <maria.sokolova@jetbrains.com> GitOrigin-RevId: 5eff98ca495d55c4dc14e073bf6d1f53095e5aa5
This commit is contained in:
committed by
intellij-monorepo-bot
parent
70776bec8f
commit
b7fb649572
+9
-5
@@ -176,12 +176,16 @@ public abstract class AttachToProcessActionBase extends AnAction implements Dumb
|
||||
|
||||
for (XAttachHostProvider hostProvider : getAvailableHosts()) {
|
||||
indicator.checkCanceled();
|
||||
//noinspection unchecked
|
||||
Set<XAttachHost> hosts = new HashSet<>(hostProvider.getAvailableHosts(project));
|
||||
|
||||
for (XAttachHost host : hosts) {
|
||||
try {
|
||||
//noinspection unchecked
|
||||
currentItems.add(new AttachHostItem(hostProvider.getPresentationGroup(), false, host, project, dataHolder));
|
||||
Set<XAttachHost> hosts = new HashSet<>(hostProvider.getAvailableHosts(project));
|
||||
|
||||
for (XAttachHost host : hosts) {
|
||||
//noinspection unchecked
|
||||
currentItems.add(new AttachHostItem(hostProvider.getPresentationGroup(), false, host, project, dataHolder));
|
||||
}
|
||||
} catch(Exception e) {
|
||||
LOG.error("Error getting available hosts from the hostProvider " + hostProvider + ": " + e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user