#279 NUL characters not shown in trace output

closed-fixed
Mark Hessling
None
5
2014-06-08
2009-06-20
Robert AH Prins
No

When tracing code that inserts NUL (x2c(00)) characters, the trace output will simply not display them:

Code:

/* REXX */
trace ?i
pull q
q = '='x2c(00)|| q || x2c(00)'='
say q

Output of trace:

3 *-* pull q
>>> "123"
+++ Interactive trace. "Trace Off" to end debug. ENTER to continue.
4 *-* q = '='x2c(00)|| q || x2c(00)'='
>L> "="
>L> "00"
>F> ""
>O> "="
>V> "123"
>O> "="
>L> "00"
>F> ""
>O> "="
>L> "="
>O> "="
5 *-* say q
>V> "="

Pretty annoying... (Platform Windows, Regina REXX-Regina_3.4(MT) 5.00 30 Dec 2007. All rights reserved.

Discussion

  • Mark Hessling
    Mark Hessling
    2014-05-15

    • status: open --> pending
    • assigned_to: Mark Hessling
    • Group: --> Next Release
     
  • Mark Hessling
    Mark Hessling
    2014-05-15

    In tracing output a blank will be shown where a NUL character would appear in the value of a variable to ensure that it appears that a character is present. Fixed for v3.8RC2

     
  • Mark Hessling
    Mark Hessling
    2014-06-08

    • Status: pending --> closed-fixed
    • Group: Next Release -->