Class DebugJSAgent

java.lang.Object
com.oracle.truffle.js.runtime.JSAgent
com.oracle.truffle.js.runtime.util.DebugJSAgent

public class DebugJSAgent extends JSAgent
Testing and debug JSAgent used by test262.
  • Constructor Details

    • DebugJSAgent

      public DebugJSAgent(boolean canBlock)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • startNewAgent

      public void startNewAgent(String sourceText)
    • setDebugReceiveBroadcast

      public void setDebugReceiveBroadcast(Object lambda)
    • registerChildAgent

      public com.oracle.truffle.js.runtime.util.DebugJSAgent.AgentExecutor registerChildAgent(Thread thread, DebugJSAgent jsAgent, com.oracle.truffle.api.TruffleContext agentContext)
    • broadcast

      public void broadcast(Object sab)
    • getReport

      public Object getReport()
    • sleep

      public void sleep(long time)
    • report

      public void report(Object value)
    • leaving

      public void leaving()
    • wake

      public void wake()
      Specified by:
      wake in class JSAgent
    • terminate

      public void terminate()
      Description copied from class: JSAgent
      Terminate the agent.
      Specified by:
      terminate in class JSAgent