简体   繁体   中英

Is it possible to prevent CGDB from clearing screen on exit?

When I run CGDB I see all of the code/backtraces/stdout stuff just fine. When I exit, it all gets cleared (just like when I exit vim, for instance). As a result I lose all the output.

I realize it would be a bit strange since it sort has a pager built in already. I just haven't found any reference in the info cgdb docs that suggests there's any magic to keep logs around.

GDB命令set logging onset logging fileset logging off可能对您有用。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM