Class ExecutionContext

java.lang.Object
com.oracle.truffle.tools.dap.server.ExecutionContext

public final class ExecutionContext extends Object
The execution context.
  • Constructor Details

    • ExecutionContext

      public ExecutionContext(com.oracle.truffle.api.instrumentation.TruffleInstrument.Env env, PrintWriter info, PrintWriter err, boolean inspectInternal, boolean inspectInitialization)
  • Method Details

    • initSession

      public void initSession(com.oracle.truffle.api.debug.DebuggerSession debuggerSession)
    • initClient

      public void initClient(DebugProtocolClient dpClient)
    • getEnv

      public com.oracle.truffle.api.instrumentation.TruffleInstrument.Env getEnv()
    • getATruffleContext

      public com.oracle.truffle.api.TruffleContext getATruffleContext()
    • getInfo

      public PrintWriter getInfo()
    • getErr

      public PrintWriter getErr()
    • isInspectInternal

      public boolean isInspectInternal()
    • isInspectInitialization

      public boolean isInspectInitialization()
    • getLogger

      public com.oracle.truffle.api.TruffleLogger getLogger()
    • getClient

      public DebugProtocolClient getClient()
    • getLoadedSourcesHandler

      public LoadedSourcesHandler getLoadedSourcesHandler()
    • getThreadsHandler

      public ThreadsHandler getThreadsHandler()
    • getBreakpointsHandler

      public BreakpointsHandler getBreakpointsHandler()
    • getVariablesHandler

      public VariablesHandler getVariablesHandler()
    • getStackFramesHandler

      public StackFramesHandler getStackFramesHandler()
    • setLinesStartAt1

      public void setLinesStartAt1(Boolean value)
    • clientToDebuggerLine

      public int clientToDebuggerLine(int line)
    • clientToDebuggerColumn

      public int clientToDebuggerColumn(int col)
    • debuggerToClientLine

      public int debuggerToClientLine(int line)
    • debuggerToClientColumn

      public int debuggerToClientColumn(int col)
    • doRunIfWaitingForDebugger

      public void doRunIfWaitingForDebugger()
    • waitForRunPermission

      public void waitForRunPermission() throws InterruptedException
      Throws:
      InterruptedException
    • dispose

      public void dispose()