gdb split view with code

后端 未结 9 2102
温柔的废话
温柔的废话 2020-11-27 10:02

I was just debugging a program in gdb and somehow I found a new feature I\'ve never seen or even heard of before, a split view where I can see and browse the code in additio

9条回答
  •  情歌与酒
    2020-11-27 10:52

    When GDB is in the standard mode, using win will automatically switch in the TUI mode.
    Other command for TUI mode:

    • info win
      List and give the size of all displayed windows.
    • focus next | prev | src | asm | regs | split
      Set the focus to the named window. This command allows to change the active window so that scrolling keys can be affected to another window.

    Read here form more help.

提交回复
热议问题