use of com.oracle.truffle.api.debug.DebuggerSession.ThreadSuspension in project graal by oracle.
the class SetThreadSuspensionEnabledNode method getThreadSuspension.
@TruffleBoundary
protected ThreadSuspension getThreadSuspension(DebuggerSession[] sessions) {
assert sessions.length == 1;
ThreadSuspension threadSuspension = new ThreadSuspension(true);
sessions[0].threadSuspensions.set(threadSuspension);
return threadSuspension;
}
Aggregations