summaryrefslogtreecommitdiff
path: root/python/pydevSrc/com/jetbrains/python/debugger/pydev/AbstractCommand.java
diff options
context:
space:
mode:
Diffstat (limited to 'python/pydevSrc/com/jetbrains/python/debugger/pydev/AbstractCommand.java')
-rw-r--r--python/pydevSrc/com/jetbrains/python/debugger/pydev/AbstractCommand.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/python/pydevSrc/com/jetbrains/python/debugger/pydev/AbstractCommand.java b/python/pydevSrc/com/jetbrains/python/debugger/pydev/AbstractCommand.java
index efa86d495d95..15bb76b6c3d1 100644
--- a/python/pydevSrc/com/jetbrains/python/debugger/pydev/AbstractCommand.java
+++ b/python/pydevSrc/com/jetbrains/python/debugger/pydev/AbstractCommand.java
@@ -33,6 +33,8 @@ public abstract class AbstractCommand<T> {
public static final int SMART_STEP_INTO = 128;
public static final int EXIT = 129;
public static final int CALL_SIGNATURE_TRACE = 130;
+ public static final int SHOW_CONSOLE = 142;
+ public static final int ERROR = 901;
public static final int VERSION = 501;
public static final String NEW_LINE_CHAR = "@_@NEW_LINE_CHAR@_@";
@@ -180,6 +182,10 @@ public abstract class AbstractCommand<T> {
return command == EXIT;
}
+ public static boolean isErrorEvent(int command) {
+ return command == ERROR;
+ }
+
protected static class Payload {
private final StringBuilder myBuilder = new StringBuilder();
private static final char SEPARATOR = '\t';