void () { boolean unsupported = false; for (ThreadReferenceProxyImpl thread : threadsToInterrupt) { try { thread.getThreadReference().interrupt(); } catch (UnsupportedOperationException ignored) { unsupported = true; } } if (unsupported) { final Project project = debugProcess.getProject(); XDebuggerManagerImpl.getNotificationGroup() .createNotification(JavaDebuggerBundle.message("thread.operation.interrupt.is.not.supported.by.vm"), MessageType.INFO).notify(project); } }