void (PyDebugValue variable, String value) { if (!isCommunicationClosed()) { executeBackgroundTaskSuppressException( () -> { // NOTE: The actual change is being scheduled in the exec_queue in main thread // This method is async now getPythonConsoleBackendClient().changeVariable(variable.getEvaluationExpression(), value); return null; }, PyBundle.message("console.changing.variable"), "Error in changeVariable():" ); } }