How to log the dbx session in a text file?
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'.
精彩评论