The Daffodil Command Line Interface (CLI) comes with a built-in interactive debugger that pauses parsing and allows for user inspection current of the parsing state. To start Daffodil in debugger mode, provide the global --debug/-d option, for example:
Code Block | ||
---|---|---|
| ||
./daffodil --debug parse --schema schema.dfdl.xsd input.dat |
Enabling the debugger display displays a (debug)
prompt, at which point various commands can be entered to control parsing and inspect Daffodil state. Below is the list of commands and their descriptions.
...