Originally posted at tunnelvisionlabs/LangSvcV2#44.
The debugger update in tunnelvisionlabs/LangSvcV2#38 is correct, but sub-optimal for a number of cases. For example, the character '\0' is displayed as '\u0000'. The escape sequence processing should reduce the code to a minimal octal escape where possible.
Originally posted at tunnelvisionlabs/LangSvcV2#44.
The debugger update in tunnelvisionlabs/LangSvcV2#38 is correct, but sub-optimal for a number of cases. For example, the character
'\0'
is displayed as'\u0000'
. The escape sequence processing should reduce the code to a minimal octal escape where possible.