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

CLI debugger - info data not displaying correct information

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: s15
    • Fix Version/s: 1.0.0
    • Component/s: Debugger
    • Labels:
      None

      Description

      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

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Tasks

                  Progress: 
                   0/0