void (PyThreadInfo thread) { if (!myThreads.containsKey(thread.getId())) { // It means that breakpoint with "Suspend all" policy was reached in another process // and we should suspend all threads in the current process on Java side for (PyThreadInfo otherThread : getThreads()) { if (!otherThread.getId().equals(thread.getId())) { suspendThread(otherThread.getId()); } } } }