comparison truffle/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/ChildrenNodesTest.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
69 class TestRootNode extends RootNode { 69 class TestRootNode extends RootNode {
70 70
71 @Children private final TestChildNode[] children; 71 @Children private final TestChildNode[] children;
72 72
73 public TestRootNode(TestChildNode[] children) { 73 public TestRootNode(TestChildNode[] children) {
74 super(null); 74 super(TestingLanguage.class, null, null);
75 this.children = children; 75 this.children = children;
76 } 76 }
77 77
78 @Override 78 @Override
79 public Object execute(VirtualFrame frame) { 79 public Object execute(VirtualFrame frame) {