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/06/05 17:49:00 UTC
[jira] [Created] (DAFFODIL-2348) Debugger breaks with prefixed
lengths
Steve Lawrence created DAFFODIL-2348:
----------------------------------------
Summary: 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
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)