Class SimpleDebugger

java.lang.Object
org.eclipse.m2m.atl.engine.vm.SimpleDebugger
All Implemented Interfaces:
Debugger

public class SimpleDebugger extends Object implements Debugger
A simple ATL VM debugger with step tracing and basic profiling optional capabilities.
  • Constructor Details

    • SimpleDebugger

      public SimpleDebugger(boolean step, List stepops, List deepstepops, List nostepops, List deepnostepops, boolean showStackTrace)
    • SimpleDebugger

      public SimpleDebugger(boolean step, List stepops, List deepstepops, List nostepops, List deepnostepops, boolean showStackTrace, boolean continueAfterErrors)
    • SimpleDebugger

      public SimpleDebugger(boolean step, List stepops, List deepstepops, List nostepops, List deepnostepops, boolean showStackTrace, boolean showSummary, boolean profile, boolean continueAfterErrors)
  • Method Details

    • enter

      public void enter(StackFrame frame)
      Description copied from interface: Debugger
      Enters the frame.
      Specified by:
      enter in interface Debugger
      Parameters:
      frame - the frame to enter in
    • leave

      public void leave(StackFrame frame)
      Description copied from interface: Debugger
      Leaves the frame.
      Specified by:
      leave in interface Debugger
      Parameters:
      frame - the frame to leave
    • step

      public void step(ASMStackFrame frame)
      Description copied from interface: Debugger
      Steps into the frame.
      Specified by:
      step in interface Debugger
      Parameters:
      frame - the frame to step
    • error

      public void error(StackFrame frame, String msg, Exception e)
      Description copied from interface: Debugger
      Throws an error.
      Specified by:
      error in interface Debugger
      Parameters:
      frame - the current frame
      msg - the error message
      e - the exception
    • terminated

      public void terminated()
      Description copied from interface: Debugger
      Terminates the execution.
      Specified by:
      terminated in interface Debugger