diff truffle/com.oracle.truffle.tools.debug.shell/src/com/oracle/truffle/tools/debug/shell/REPLMessage.java @ 22444:c3e397ce5941

Truffle/Debugging/REPL: major reorganization post-PolyglotEngine - Discarded language-specific specializations, with one temporary, minor exception - "loadr" and "loads" commands replaced by "load", which always "steps into" - added "call" command: it invokes an exported symbol, which is needed to run "main" in SL demo - fixed failures to propagate KillException and QuitException properly - fixed usability bug in the client: "load" now sets the "selected source" - add package-info.java
author Michael Van De Vanter <michael.van.de.vanter@oracle.com>
date Tue, 27 Oct 2015 17:44:27 -0700
parents dc83cc1f94f2
children c17794973b64
line wrap: on
line diff
--- a/truffle/com.oracle.truffle.tools.debug.shell/src/com/oracle/truffle/tools/debug/shell/REPLMessage.java	Tue Oct 20 11:30:34 2015 -0400
+++ b/truffle/com.oracle.truffle.tools.debug.shell/src/com/oracle/truffle/tools/debug/shell/REPLMessage.java	Tue Oct 27 17:44:27 2015 -0700
@@ -30,6 +30,8 @@
 import java.util.Set;
 import java.util.TreeMap;
 
+import com.oracle.truffle.tools.debug.shell.server.REPLServer;
+
 /**
  * A message for communication between a Read-Eval-Print-Loop server associated with a language
  * implementation and a possibly remote client.
@@ -53,6 +55,8 @@
     public static final String BREAKPOINT_IGNORE_COUNT = "breakpoint-ignore-count";
     public static final String BREAKPOINT_INFO = "breakpoint-info";
     public static final String BREAKPOINT_STATE = "breakpoint-state";
+    public static final String CALL = "call";
+    public static final String CALL_NAME = "call-name";
     public static final String CLEAR_BREAK = "clear-breakpoint";
     public static final String CODE = "code";
     public static final String CONTINUE = "continue";
@@ -76,8 +80,7 @@
     public static final String LANGUAGE = "language";
     public static final String LINE_NUMBER = "line-number";
     public static final String LIST = "list";
-    public static final String LOAD_RUN = "load-run-source";
-    public static final String LOAD_STEP = "load-step-into-source";
+    public static final String LOAD_SOURCE = "load-source";
     public static final String METHOD_NAME = "method-name";
     public static final String OP = "op";
     public static final String OPTION = "option";