void (String command, PyDebugCallback<String> callback) { dropFrameCaches(); try { final PyStackFrame frame = currentFrame(); myDebugger.consoleExec(frame.getThreadId(), frame.getFrameId(), command, callback); } catch (PyDebuggerException e) { callback.error(e); } }