我有 ( voltron ) 用于 LLDB。寄存器、堆栈等的窗口分别打开。如何自定义窗口,让他们都安家落户,怎么上图?我知道有必要使用tmuxinator。
最佳答案
我将尝试描述每个步骤。首先,您需要安装 voltron,如果您还没有这样做的话。详细说明在这里https://github.com/snare/voltron
接下来,安装 tmux。我用的是自制软件。
brew install tmux
为了获得 View ,如图片所示,您应该自定义 tmuxinator(更多信息在这里 https://github.com/tmuxinator/tmuxinator)。
在终端写命令
echo $EDITOR
export EDITR='vim'
tmuxinator new voltron
您应该自定义.yml 文件
。我使用了 voltron 作者的设置,但 YAML 非常注重在何处使用了多少空间(感谢 https://github.com/ethagnawl )。要编辑 voltron.yml,我确实使用了 'i'
按钮,以保存 Esc
和 'Z'
。
# ~/.tmuxinator/voltron.yml
name: voltron
root: ~/
windows:
# two spaces
- madhax:
# four spaces
layout: 15a8,169x41,0,0{147x41,0,0[147x13,0,0{81x13,0,0,60,65x13,82,0,61},147x19,0,14,62,147x7,0,34{89x7,0,34,63,57x7,90,34,64}],21x41,148,0,65}
panes:
# two spaces
- voltron view disasm
- voltron view bp
- lldb
- voltron view stack
- voltron view bt
- voltron view reg
运行 tmux 使用:
tmuxinator start voltron
关于debugging - 如何使用 Voltron 为 LLDB 自定义 View ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35578562/