stevedlawrence opened a new pull request #470:
URL: https://github.com/apache/incubator-daffodil/pull/470
Adds a new info subcommand called "variables" to show the current
in-scope state and value of variables. For example:
(debug) info variables
variables:
ex:var1: (undefined)
{http://www.ogf.org/dfdl/dfdl-1.0/}binaryFloatRep: ieee (default)
{http://www.ogf.org/dfdl/dfdl-1.0/}byteOrder: bigEndian (default)
{http://www.ogf.org/dfdl/dfdl-1.0/}encoding: UTF-8 (default)
{http://www.ogf.org/dfdl/dfdl-1.0/}outputNewLine: %LF; (default)
Also allows specifcying one or more variable names to only output those
if you don't want to see all variables, for example:
(debug) info varibles var1 byteOrder
variables:
ex:var1: (undefined)
{http://www.ogf.org/dfdl/dfdl-1.0/}byteOrder: bigEndian (default)
This also modifies the info command so that you can provide parameters
to subcommands, which is needed to allow variable names after the "info
variables".
Fixes the "info data" command which at one point
had optional parameters to control how data should be output (either
text or binary). This was broken at some point, but is now available.
Allows the "clear" command to be used in the "display" command, e.g.
(debug) display clear
This can be useful to clear the screen every time the debugger pauses,
sometimes making it easier to see what changed.
DAFFODIL-2453
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]