stevedlawrence commented on issue #1092: URL: https://github.com/apache/daffodil-vscode/issues/1092#issuecomment-2344270975
> Does the Daffodil internal debugger provide this information for external consumption? Yes, the debugger has access to `ParserOrUnparseState`, which has a `variableMapForDebugger` member that contains information about all the variables (both current and previous instances). The CLI "info variables" debugger command has an example of how to access this state information: https://github.com/apache/daffodil/blob/main/daffodil-runtime1/src/main/scala/org/apache/daffodil/runtime1/debugger/InteractiveDebugger.scala#L1939-L1989 Note that it only displays the current instance of each variable--an enhancement might be to give the ability to display all instances instead. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
