Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
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?
如果 dbx 中没有特定的方式,可以使用脚本。
在启动 dbx 之前,运行脚本。这将启动一个新的 shell,您可以在其中运行任何命令(例如 dbx)。从 dbx 退出后,退出由 script 启动的子 shell,您将在文件 'typescript' 中找到完整的 dbx 会话。