2010年1月5日 星期二

[Emacs] gdb開很多視窗就是個很帥的IDE了

.emacs設定加上
(setq gdb-many-windows t)
(setq gdb-show-main t)

在source code的視窗裡:
* Mouse-1點在左邊行數旁的邊框裡,可以設定中斷點(breakpoint)
* C-Mouse-1可以拖現在執行點到任一想要的地方

ref:
- Emacs Mode for GDB
- GDB User Interface Layout

沒有留言: