windbg: Command output to text file

强颜欢笑 提交于 2019-12-02 19:59:54
Simon P Stevens

Start WinDbg from the command line using the -logo option:

windbg.exe -logo logfile.txt

That will get everything done logged to the file specified. You can find more details of the command line options here.

Or, if you are already in a debugging session, you can use the .logopen command to start logging. For more info on this command see here

Or you can click edit->Open/Close log file in the WinDbg GUI.

More info on log files is here.

You can use .logopen , all of the commands you input and response from windbg will be logged, and then use .logclose to flush the data into

You can also do this from the WinDbg gui 'Edit>Write Window Text To File...' if you find that easier.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!