Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Commands

...

break

...

<element_id>

...

break element.foo

...

clear

...

clear

...

condition

...

<breakpoint_id> <dfdl_expression>

...

condition 1 dfdl:occursIndex() = 3

...

continue

...

continue

...

delete

...

<breakpoint_id>

...

delete 1

...

disable

...

<type> <id>

...

disable breakpoint 1
disable display 1

...

display

...

<debugger command>

...

display info infoset

...

enable

...

<type> <id>

...

enable breakpoint 1
enable display 1

...

eval

...

[type] <dfdl_expression>

...

eval number dfdl:occursIndex()

...

help

...

[<command>]

...

help
help info

...

info

...

<item>...

...

Print various pieces of internal information to the console. The valid items are:

itemdescription
arrayIndexcurrent index of the element in an array
bitLimitcurrent bit limit
bitPositioncurrent bit position in the data
breakpointslist of breakpoints
childIndexcurrent child index
datainput data
descriminatorwhether or not a descriminator is set
displayslist of displays
groupIndexcurrent group index
infosetcurrent infoset
occursCountoccurs count
pathpath in the schema, using schema component designator

...

info data infoset

...

set

...

<setting> <value>

...

Change a debugger setting. The settings are:

SettingTypeDescription
dataLengthintegernumber of bytes to display when displaying input data. If negative, display all input data.
infosetLinesintegernumber of lines of the infoset to display. This displays the last X number of lines. If negative, display the entire infoset
removeHiddenbooleanwhether or not to remove hidden elements (via dfdl:hiddenGroupRef) when displaying the infoset
wrapLengthintegernumber of character at which to wrap data or infoset when printed to the console

...

set dataLength -1
set wrapLength 50
set removeHidden true

...

step

...

step

...

undisplay

...

<display_id>

...

this page has moved to https://daffodil.apache.org/debugger/