Oracle® Solaris Studio 12.4:使用 dbx 调试程序

退出打印视图

更新时间: 2015 年 1 月
 
 

调用美化输出

以下情况下会调用美化输出函数:

  • 执行 print –p 或当 dbxenv 变量 output_pretty_print 设置为 on 时。

  • 执行 display –p 或当 dbxenv 变量 output_pretty_print 设置为 on 时。

  • 执行 watch –p 或当 dbxenv 变量 output_pretty_print 设置为 on 时。

  • 使用气球表达式求值,当 dbxenv 变量 output_pretty_print 设置为 on 时。

  • 使用局部变量,当 dbxenv 变量 output_pretty_print 设置为 on 时。

以下情况下不会调用美化输出函数:

  • $[]. $[] 专门用于脚本中,因此脚本应当是可以预测的。

  • 执行 dump 命令。dumpwhere 命令使用相同的简化格式,可能会在未来的版本中转为使用美化输出。IDE 的 "Local Variables"(局部变量)窗口不存在这一限制。