String () { String consoleNotAvailableMessage = "Console output not available."; if (mySession != null && mySession.getConsoleView() != null) { PythonDebugLanguageConsoleView pydevConsoleView = (PythonDebugLanguageConsoleView)mySession.getConsoleView(); ConsoleViewImpl consoleView = pydevConsoleView.getTextConsole(); return consoleView != null ? XDebuggerTestUtil.getConsoleText(consoleView) : consoleNotAvailableMessage; } return consoleNotAvailableMessage; }