void () { myUpdateAlarm.cancelAllRequests(); myUpdateAlarm.addRequest(() -> { final DebuggerStateManager contextManager = getContextManager(); contextManager.fireStateChanged(contextManager.getContext(), Event.THREADS_REFRESH); }, ApplicationManager.getApplication().isUnitTestMode() ? 0 : 100, ModalityState.nonModal()); }