comparison truffle/com.oracle.truffle.tools.test/src/com/oracle/truffle/tools/test/TestNodes.java @ 22003:5bc7f7b867ab

Making debugger always on for each TruffleVM execution. Introducing EventConsumer to process such debugger events. Requesting each RootNode to be associated with a TruffleLanguage, so debugger can find out proper context for each Node where executions gets suspended.
author Jaroslav Tulach <jaroslav.tulach@oracle.com>
date Sat, 18 Jul 2015 18:03:36 +0200
parents 9c8c0937da41
children dc83cc1f94f2 3aad794eec0e
comparison
equal deleted inserted replaced
22002:324997830dc9 22003:5bc7f7b867ab
160 * This constructor emulates the global machinery that applies registered probers to every 160 * This constructor emulates the global machinery that applies registered probers to every
161 * newly created AST. Global registry is not used, since that would interfere with other 161 * newly created AST. Global registry is not used, since that would interfere with other
162 * tests run in the same environment. 162 * tests run in the same environment.
163 */ 163 */
164 public TestRootNode(TestLanguageNode body) { 164 public TestRootNode(TestLanguageNode body) {
165 super(null); 165 super(TruffleLanguage.class, null, null);
166 this.body = body; 166 this.body = body;
167 } 167 }
168 168
169 @Override 169 @Override
170 public Object execute(VirtualFrame frame) { 170 public Object execute(VirtualFrame frame) {