1.3.142 set escape-strings

Controls how special characters in strings are printed on the debugger command-line.

Syntax

set escape-strings off|on

Where:

off

Specifies that any backslash characters in strings are treated as escape sequences. For example, if the string contains "\t" then this is printed as a tab character.

This is the default.

on

Specifies that any backslashes in strings are not treated as escape sequences and are instead output literally. For example, if the string contains "\t" then this is printed as a "\" character followed by a "t" character.

Example 1-145 Examples

set escape-strings on
output "Say \"hello\""
“Say \“hello\””
set escape-strings off
output "Say \"hello\""
"Say ”hello"”
Non-ConfidentialPDF file icon PDF versionARM DUI0452Z
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.