Variable view in Python Console.

This commit is contained in:
Dmitry Trofimov
2013-09-03 14:48:54 +02:00
parent f67487028d
commit fd689cb7dc
19 changed files with 833 additions and 246 deletions

View File

@@ -2,13 +2,14 @@ package com.jetbrains.python.debugger;
import com.intellij.execution.ui.ConsoleViewContentType;
import com.intellij.xdebugger.frame.XValueChildrenList;
import org.jetbrains.annotations.Nullable;
import java.io.IOException;
/**
* @author yole
*/
public interface IPyDebugProcess {
public interface IPyDebugProcess extends PyEvaluator {
PyPositionConverter getPositionConverter();
void threadSuspended(PyThreadInfo thread);
@@ -21,8 +22,6 @@ public interface IPyDebugProcess {
void threadResumed(PyThreadInfo thread);
PyDebugValue evaluate(String expression, boolean exec, boolean doTrunc) throws PyDebuggerException;
void printToConsole(String text, ConsoleViewContentType contentType);
void init();

View File

@@ -0,0 +1,14 @@
package com.jetbrains.python.debugger;
import com.intellij.xdebugger.frame.XValueChildrenList;
import org.jetbrains.annotations.Nullable;
/**
* @author traff
*/
public interface PyEvaluator {
PyDebugValue evaluate(final String expression, final boolean execute, boolean doTrunc) throws PyDebuggerException;
@Nullable
XValueChildrenList loadFrame() throws PyDebuggerException;
}