HomeManualTopicsTypesSymbols

std::edump

print an object dump to stderr

Parameter

args*
an alternating sequence of names and values

Results

None

Description

Dumps its arguments consisting of an alternating sequence of expression names and expression values using std::print. The expression values are converted into strings using debug::string.

The depth to which debug strings shall be generated can be provided as an optional first argument; the default depth is 1.

Example

$value_1 27 $value_2 list("Peter" 'x' list(47 11)) edump! `value_1 `value_2 `(2*sqrt(9))

Error output

value_1: 27 value_2: list <3> "Peter" 'x' list <2> 47 11 (2*sqrt(9)): 6.0

Topics

Input-Output

Debug

See also

debug::dump writes a string representation of an object to stderr
debug::string returns a string representation of the given object