ResumeCommand (SuspendContextImpl suspendContext, final PrioritizedTask.Priority priority) { final BreakpointManager breakpointManager = DebuggerManagerEx.getInstanceEx(getProject()).getBreakpointManager(); return new ResumeCommand(suspendContext) { @Override public void contextAction(@NotNull SuspendContextImpl suspendContext) { breakpointManager.applyThreadFilter(DebugProcessImpl.this, null); // clear the filter on resume if (myReturnValueWatcher != null) { myReturnValueWatcher.clear(); } super.contextAction(suspendContext); } @Override public Priority getPriority() { return priority; } }; }