Package

edu.illinois.ncsa.daffodil.sapi

debugger

Permalink

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);
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. debugger
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract class DebuggerRunner extends AnyRef

    Permalink

    Abstract debugger runner, which can be implemented to create a custom debugger runner

  2. final class TraceDebuggerRunner extends DebuggerRunner

    Permalink

    DebuggerRunner that writes verbose information about parsing to stdout

Inherited from AnyRef

Inherited from Any

Ungrouped