spicy
spicy copied to clipboard
Indentation in debug mode
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.