package debugger
Provides the classes necessary to perform parse tracing or create a custom debugger
Overview
Daffodil comes with one prebuilt debugger, the TraceDebuggerRunner, which outputs verbose information during the parsing processes, which can be used to aid in debugging a DFDL schema. For example, the TraceDebuggerRunner can be use like so:
val tdr = new TraceDebuggerRunner() Daffodil.setDebugger(tdr)
Additionally, one may create their own debugger runner by implementing the methods in the DebuggerRunner.
Once the debugger is set, it must then be turned on, like so:
Daffodil.setDebugging(true);Type Members
- 
      
      
      
        
      
    
      
        abstract 
        class
      
      
        DebuggerRunner extends AnyRef
      
      
      
Abstract debugger runner, which can be implemented to create a custom debugger runner
 - 
      
      
      
        
      
    
      
        final 
        class
      
      
        TraceDebuggerRunner extends DebuggerRunner
      
      
      
DebuggerRunner that writes verbose information about parsing to stdout
 
This is the documentation for the Apache Daffodil Scala API.
Package structure
org.apache.daffodil.sapi - Provides the classes necessary to compile DFDL schemas, parse and unparse files using the compiled objects, and retrieve results and parsing diagnostics
org.apache.daffodil.udf - Provides the classes necessary to create User Defined Functions to extend the DFDL expression language