Interface VMMonitor

All Known Implementing Classes:
LaunchAdapter, NetworkDebugger, Profiler, ProfilingLaunchAdapter

public interface VMMonitor
Allows monitoring and controlling a running EMFTVM instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Enters the stack frame.
    void
    error(StackFrame frame, String msg, Exception e)
    Throws an error.
    boolean
    Returns true when the running EMFTVM instance should be terminated.
    void
    Leaves the stack frame.
    void
    Steps into the stack frame.
    void
    Invoked when execution is terminated.
  • Method Details

    • isTerminated

      boolean isTerminated()
      Returns true when the running EMFTVM instance should be terminated.
      Returns:
      true when the running EMFTVM instance should be terminated
    • enter

      void enter(StackFrame frame)
      Enters the stack frame.
      Parameters:
      frame - the frame to enter in
    • leave

      void leave(StackFrame frame)
      Leaves the stack frame.
      Parameters:
      frame - the frame to leave
    • step

      void step(StackFrame frame)
      Steps into the stack frame.
      Parameters:
      frame - the frame to step
    • terminated

      void terminated()
      Invoked when execution is terminated.
    • error

      void error(StackFrame frame, String msg, Exception e)
      Throws an error.
      Parameters:
      frame - the current frame
      msg - the error message
      e - the exception