Package org.apache.daffodil.api.debugger
Interface DaffodilDebuggerRunner
public interface DaffodilDebuggerRunner
Daffodil Debugger Runner interface to run the built-in Daffodil debugger.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
fini()
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 Debuggervoid
lineOutput
(String line) 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:
-
- Daffodil Debugger - debugger commands
-
lineOutput
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.
-