Mercurial > hg > truffle
comparison truffle/com.oracle.truffle.tools.debug.shell/src/com/oracle/truffle/tools/debug/shell/client/REPLClientContext.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 |
comparison
equal
deleted
inserted
replaced
22443:2e5ac2d13d84 | 22444:c3e397ce5941 |
---|---|
23 * questions. | 23 * questions. |
24 */ | 24 */ |
25 package com.oracle.truffle.tools.debug.shell.client; | 25 package com.oracle.truffle.tools.debug.shell.client; |
26 | 26 |
27 import com.oracle.truffle.api.source.Source; | 27 import com.oracle.truffle.api.source.Source; |
28 import com.oracle.truffle.tools.debug.shell.REPLServer; | 28 import com.oracle.truffle.tools.debug.shell.server.REPLServer; |
29 | |
29 import java.util.List; | 30 import java.util.List; |
30 | 31 |
31 /** | 32 /** |
32 * Client context for interaction with a program halted by the {@link REPLServer}. | 33 * Client context for interaction with a program halted by the {@link REPLServer}. |
33 */ | 34 */ |
34 public interface REPLClientContext { | 35 interface REPLClientContext { |
35 | 36 |
36 /** | 37 /** |
37 * The source code halted in this context. | 38 * The source code halted in this context. |
38 */ | 39 */ |
39 Source source(); | 40 Source source(); |