comparison truffle/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/FinalFieldTest.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
comparison
equal deleted inserted replaced
22002:324997830dc9 22003:5bc7f7b867ab
63 private static class TestRootNode extends RootNode { 63 private static class TestRootNode extends RootNode {
64 64
65 @Children private final TestChildNode[] children; 65 @Children private final TestChildNode[] children;
66 66
67 public TestRootNode(TestChildNode[] children) { 67 public TestRootNode(TestChildNode[] children) {
68 super(null); 68 super(TestingLanguage.class, null, null);
69 this.children = children; 69 this.children = children;
70 } 70 }
71 71
72 @Override 72 @Override
73 public Object execute(VirtualFrame frame) { 73 public Object execute(VirtualFrame frame) {