set escape-strings

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

Show/hideSyntax

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.

Show/hideExample

Example 106. set escape-strings

set escape-strings on

output "Say \"hello\""

“Say \“hello\””
set escape-strings off

output "Say \"hello\""

"Say ”Hello"”

Show/hideSee also

Copyright © 2010-2012 ARM. All rights reserved.ARM DUI 0452L
Non-ConfidentialID100912