DbgStr function
Generates a debugger message with the content from the specified value.
Declaration
function DbgStr(const StringWithSpecialChars: string): string
; overloadArguments
StringWithSpecialChars | String with the special characters converted to hexadecimal notation. |
Function result
String with the value after special characters are converted to hexadecimal notation.
Description
DbgStr is an overloaded String function used to generate a string value using the content and formatting specified in the parameter values. The overloaded variants allow the string (or a range of characters in the string) which may contain multi-byte UTF-8 characters to be formatted for use in a debugger message. Any character with an ordinal value not in the range #32..#126 is converted to its hexadecimal character notation like #$FF. Any character with a value in the range #32..#126 is not altered.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
