void (final String file, final int line) { ApplicationManager.getApplication().invokeAndWait(() -> doToggleBreakpoint(file, line), ModalityState.defaultModalityState()); setBreakpointSuspendPolicy(getProject(), line, myDefaultSuspendPolicy); }