void (PyDebuggerException exception) { callback.error(exception); if (PyConsoleUtil.isCommandQueueEnabled(myProject)) { ApplicationManager.getApplication() .getService(CommandQueueForPythonConsoleService.class) .removeCommand(PythonDebugConsoleCommunication.this, true); } }