Search in sources :

Example 1 with PyStackFrame

use of com.jetbrains.python.debugger.PyStackFrame in project intellij-community by JetBrains.

the class PythonConsoleView method showVariables.

public void showVariables(PydevConsoleCommunication consoleCommunication) {
    PyStackFrame stackFrame = new PyStackFrame(getProject(), consoleCommunication, new PyStackFrameInfo("", "", "", null), null);
    final XStandaloneVariablesView view = new XStandaloneVariablesView(getProject(), new PyDebuggerEditorsProvider(), stackFrame);
    consoleCommunication.addCommunicationListener(new ConsoleCommunicationListener() {

        @Override
        public void commandExecuted(boolean more) {
            view.rebuildView();
        }

        @Override
        public void inputRequested() {
        }
    });
    mySplitView = view;
    Disposer.register(this, view);
    splitWindow();
}
Also used : XStandaloneVariablesView(com.intellij.xdebugger.impl.frame.XStandaloneVariablesView) PyStackFrame(com.jetbrains.python.debugger.PyStackFrame) PyDebuggerEditorsProvider(com.jetbrains.python.debugger.PyDebuggerEditorsProvider) ConsoleCommunicationListener(com.jetbrains.python.console.pydev.ConsoleCommunicationListener) PyStackFrameInfo(com.jetbrains.python.debugger.PyStackFrameInfo)

Aggregations

XStandaloneVariablesView (com.intellij.xdebugger.impl.frame.XStandaloneVariablesView)1 ConsoleCommunicationListener (com.jetbrains.python.console.pydev.ConsoleCommunicationListener)1 PyDebuggerEditorsProvider (com.jetbrains.python.debugger.PyDebuggerEditorsProvider)1 PyStackFrame (com.jetbrains.python.debugger.PyStackFrame)1 PyStackFrameInfo (com.jetbrains.python.debugger.PyStackFrameInfo)1