Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-2348

Debugger breaks with prefixed lengths

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 3.1.0
    • Debugger
    • None

    Description

      When using the debugger and displaying the infoset (e.g. info infoset), if the current element is a prefixed length element Daffodil will abort with an exception about "No parent element for element (prefixLength)". This is because the debugger tries to find the root element:

      infoset = infoset.toRootDoc.getRootElement().asInstanceOf[DIElement]
      

      But that fails when the element is a prefixed length element. Need special logic somewhere to handle these detached elements.

      Attachments

        Activity

          People

            slawrence Steve Lawrence
            slawrence Steve Lawrence
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: