use of com.oracle.truffle.tools.chromeinspector.server.InspectServerSession in project graal by oracle.
the class InspectorTestInstrument method onCreate.
@Override
protected void onCreate(Env env) {
TruffleExecutionContext context = TruffleExecutionContext.create("test", env, new PrintWriter(env.err()));
TruffleRuntime runtime = new TruffleRuntime(context);
TruffleDebugger debugger = new TruffleDebugger(context, suspend);
TruffleProfiler profiler = new TruffleProfiler(context);
InspectServerSession iss = new InspectServerSession(runtime, debugger, profiler, context);
env.registerService(iss);
env.registerService(context.getId());
}
Aggregations