void (@NotNull final XExpression expression, @NotNull final XModificationCallback callback) { ApplicationManager.getApplication().executeOnPooledThread(() -> { try { myDebugProcess.changeVariable(myVariable, expression.getExpression()); callback.valueModified(); } catch (PyDebuggerException e) { callback.errorOccurred(e.getTracebackError()); } }); }