Pretty-print functions are invoked for the following:
print –p or if the dbxenv variable output_pretty_print is set to on.
display –p or if the dbxenv variable output_pretty_print is set to on.
watch –p or if the dbxenv variable output_pretty_print is set to on.
Balloon evaluation if the dbxenv variable output_pretty_print is set to on.
Local variable if the dbxenv variable output_pretty_print is set to on.
Pretty-print functions are not invoked for the following:
$[]. $[] is intended to be used in scripts, therefore the scripts should be predictable.
The dump command. dump uses the same simplified formatting as the where command, which might be converted to use pretty-printing in later releases. This limitation does not apply to the Local Variables window in the IDE.