void (@Nullable XSuspendContext context, final ResumeOrStepCommand.Mode mode) { dropFrameCaches(); if (isConnected()) { String threadId = threadIdBeforeResumeOrStep(context); for (PyThreadInfo suspendedThread : mySuspendedThreads) { if (threadId == null || threadId.equals(suspendedThread.getId())) { myDebugger.resumeOrStep(suspendedThread.getId(), mode); break; } } } }