spicy icon indicating copy to clipboard operation
spicy copied to clipboard

Indentation in debug mode

Open Mohan-Dhawan opened this issue 3 years ago • 0 comments

Indentation for the spicy stream in the HILTI_DEBUG mode does not reset to the extreme left when parsing a PDU after the parser encounters a parse error. Instead, the stream retains the previous indentation (of the field that raised the parse error). This causes the output to be skewed towards the right and makes it hard to spot parse errors.

Mohan-Dhawan avatar Jan 24 '23 07:01 Mohan-Dhawan