How to highlight and color gdb output during interactive debugging?

前端 未结 11 1483
南方客
南方客 2020-12-02 03:42

Please don\'t reply I should use ffffd, nemiver, emacs, vim, or any other front-end, I just prefer gdb as it is, but would like to see its output with some terminal colors.

11条回答
  •  北海茫月
    2020-12-02 04:13

    Neat, I just found this hack using colout: https://github.com/nojhan/colout/blob/master/colout/example.gdbinit

    before - after

提交回复
热议问题