You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Steve Lawrence (Jira)" <ji...@apache.org> on 2020/12/14 14:43:00 UTC

[jira] [Assigned] (DAFFODIL-2348) Debugger breaks with prefixed lengths

     [ https://issues.apache.org/jira/browse/DAFFODIL-2348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Lawrence reassigned DAFFODIL-2348:
----------------------------------------

    Assignee: Steve Lawrence

> Debugger breaks with prefixed lengths
> -------------------------------------
>
>                 Key: DAFFODIL-2348
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2348
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Debugger
>    Affects Versions: 2.6.0
>            Reporter: Steve Lawrence
>            Assignee: Steve Lawrence
>            Priority: Major
>
> 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:
> {code:scala}
> infoset = infoset.toRootDoc.getRootElement().asInstanceOf[DIElement]
> {code}
> But that fails when the element is a prefixed length element. Need special logic somewhere to handle these detached elements.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)