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(JSFunctionObject broadcast)
    • broadcast

      public void broadcast(JSArrayBufferObject.Shared 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.
      Overrides:
      terminate in class JSAgent