Interface DaffodilDebuggerRunner


public interface DaffodilDebuggerRunner
Daffodil Debugger Runner interface to run the built-in Daffodil debugger.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called once upon completion of a parse, allowing one to perform any steps necessary to clean up the debugger runner.
    Called by Daffodil when there is a pause in parsing to determine what debugger actions should be taken.
    void
    init(org.apache.daffodil.runtime1.debugger.DaffodilDebugger dd)
    initialize using an Daffodil Debugger
    void
    Called by Daffodil when a debugger command has produced output.
  • Method Details

    • init

      void init(org.apache.daffodil.runtime1.debugger.DaffodilDebugger dd)
      initialize using an Daffodil Debugger
      Parameters:
      dd - Daffodil debugger
    • getCommand

      String getCommand()
      Called by Daffodil when there is a pause in parsing to determine what debugger actions should be taken.
      Returns:
      a debugger command that tells the Daffodil debugger what step to take next.
      See Also:
    • lineOutput

      void lineOutput(String line)
      Called by Daffodil when a debugger command has produced output. This method is called once for every line produced by the Daffodil debugger.
      Parameters:
      line - a single line of output generated by the Daffodil debugger
    • fini

      void fini()
      Called once upon completion of a parse, allowing one to perform any steps necessary to clean up the debugger runner.