comparison truffle/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/ChildNodeTest.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
74 74
75 @Child private TestChildNode left; 75 @Child private TestChildNode left;
76 @Child private TestChildNode right; 76 @Child private TestChildNode right;
77 77
78 public TestRootNode(TestChildNode left, TestChildNode right) { 78 public TestRootNode(TestChildNode left, TestChildNode right) {
79 super(null); 79 super(TestingLanguage.class, null, null);
80 this.left = left; 80 this.left = left;
81 this.right = right; 81 this.right = right;
82 } 82 }
83 83
84 @Override 84 @Override