0

I generally use dbx for debugging C code.

How do we log the complete session of the dbx from the point I started to the point I fired the quit command in dbx?

4

1 回答 1

1

如果 dbx 中没有特定的方式,可以使用脚本。

在启动 dbx 之前,运行脚本。这将启动一个新的 shell,您可以在其中运行任何命令(例如 dbx)。从 dbx 退出后,退出由 script 启动的子 shell,您将在文件 'typescript' 中找到完整的 dbx 会话。

于 2009-12-29T07:37:58.607 回答