Home   Manual   Type Index   Symbol Index   Topics Index

std::debug_string

returns a string describing the object

Parameters

obj

the object from which to retrieve a string representation

indent (optional; default value: 0)

the number of spaces to use for indenting all lines of the string representation; a negative indent is the same as a positive indent; but for multi-line results the result string starts with a line feed

Description

Returns a string represenation of its (first) argument for debugging purposes. The string can contain multiple lines and is always terminated with a line feed.

See also

std::dump   write an object dump to stdout
std::edump   write an object dump to stderr

Example

$SYMBOL .
write debug_string(SYMBOL)