With many of the trace messages, some data appears with message text (such as the record contents for a file read). For most messages (except for data which is known to always be printable, such as the current function name), the data appears in one of two format modes. Which one you use depends on whether the data for the particular trace message is expected to be mostly printable, or to contain mostly binary data. The modes are:

  • Hex – This displays all data as two hexadecimal characters per byte of data. For example, the data “Hello there” followed by a carriage return (CR) and linefeed (LF) character would display as:

48 65 6C 6C 6F 20 74 68 65 72 65 0D 0A

  • HexAscii – This displays each data byte as two characters in the trace. The two characters differ depending on what the data byte value is:

>”~ “ means it is a space character (0x20)

>”~~” means it is a tilda (0x7e)

>”? “ where ? is any character (followed by a space) means it is a printable character (except for “~” and “ “, which are displayed as above).

>”xy” where xy are anything else is the hexadecimal code for the character.

For example, “Hello there” plus CR, LF would display as:

H e l o ~ t h e r e 0D0A

Comment on this topic

Topic ID: 750022

Table of Contents

Index

Glossary

-Search-

Back