Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DFDL-1019

CLI debugger - info data not displaying correct information

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 1.0.0
    • s15
    • Debugger
    • None

      The "info data" command for the CLI debugger does not appear to be showing the correct bits before parsing has started. Previously, when starting a test "info data" would show "│ (-1 to -1)" which indicated that it wasn't looking at the input yet. Now it shows "├┤ (0 to -1)".

      I'm not sure exactly where this change took place but as an example, commit fd97c25ff35516c029ddca0393724ecdcf0f8b28 seems to be displaying this correctly.

      This can be tested by running the following and then typing "info data" from the debug prompt:
      > daffodil-cli/target/start -d parse -s daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section06/entities/charClassEntities.dfdl.xsd -r matrix daffodil-cli/src/test/resources/edu/illinois/ncsa/daffodil/CLI/input/input2.txt

              efinnegan Elizabeth Finnegan
              efinnegan Elizabeth Finnegan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: