debugging - Start several gdb processes in terminal emulator in split screen modus -
i'm using gdb debug parallel mpi-code 'prog'. use small number of processes, 'm' , like
mpiexec -n m xterm -e gdb ./prog
this pops m xterms each of them running 1 gdb process on 1 of files prog.
resulting cluttering of screen individual windows can rather cumbersome.
there way, using known split-window terminal emulator (say, terminator), such have m gdb processes starting in one window, split m parts start?
what want called 'terminal multiplexer'; screen or tmux
edit: want; issue following commands in shell
tmux new-session -d bash # start bash shell tmux split-window -v python # start python shell below tmux attach-session -d # enter tmux session
Comments
Post a Comment