To print the value of the expression(s) expression:
print expression, ...
In C++, to print the value of the expression expression including its inherited members:
print -r expression
In C++, to not print the expression expression's inherited members when the dbxenv output_inherited_members is on:
print +r expression
In C++, to print the derived type of expression expression instead of the static type:
print -d [-r] expression
In C++, to print the static type of expression expression when the dbxenv output_dynamic_type is on:
print +d [-r] expression
To call the prettyprint function:
print -p expression
To not call the prettyprint function when the dbxenv output_pretty_print is on:
print +p expression
To not print the left hand side (the variable name or expression). If the expression is a string (char *), do not print the address, just print the raw characters of the string, without quotes:
print -l expression
To use format as the format for integers, strings, or floating point expressions:
print -f format expression
To use the given format without printing the left hand side (the variable name or expression):
print -F format expression
To signal the end of flag arguments. Useful if expression starts with a plus or minus:;
print -- expression