Oracle Solaris Studio 12.2:使用 dbx 调试程序

status 命令

status 命令用于列出事件处理程序(断点等)。在本地模式和 Java 模式中,它的语法和功能相同。

语法

status

输出正在使用的 trace、when 和 stop 断点。

status handler_id

输出处理程序 handler_id 的状态。

status -h

输出正在使用的 trace、when 和 stop 断点,包括隐藏的断点。

status -s

相同,但 dbx 可以读取输出。

其中:

handler_id 是事件处理程序的标识符。

示例


(dbx) status -s > bpts
...
(dbx) source bpts