开发者

How to log the dbx session in a text file?

开发者 https://www.devze.com 2022-12-14 20:35 出处:网络
I generally use dbx for debugging C code. How do we log the complete session of the dbx from the point I star开发者_StackOverflowted to the point I fired the quit command in dbx?If there isn\'t a spe

I generally use dbx for debugging C code.

How do we log the complete session of the dbx from the point I star开发者_StackOverflowted to the point I fired the quit command in dbx?


If there isn't a specific way in dbx, you can use script.

Before starting dbx, run script. This starts a new shell where you can run any command (such as dbx). After you have quit from dbx, quit the sub-shell started by script and you'll find your full dbx session in the file 'typescript'.

0

精彩评论

暂无评论...
验证码 换一张
取 消