Re:Cgdb: a lightweight curses (terminal-based) interface to GDB
by crowell on Thursday April 04, 2013 @09:53AM
(#5492630)
I've given it a try before.
I really just prefer the -tui switch on gdb if I want to work with multiple panes. It allows src/console/registers/asm panes. really quite useful.
Re:Cgdb: a lightweight curses (terminal-based) interface to GDB
by Ogre on Thursday April 04, 2013 @11:05AM
(#5493071)
If you start gdb without -tui, and press ^Xo, it will switch to tui mode. I don't know if they've "fixed" this in newer versions, but I've found it useful.
That key sequence is emacs for switch to other window. If you're an emacs user but use gdb in the console it's the kind of thing you'll discover by accident sooner or later.
Re:Cgdb: a lightweight curses (terminal-based) interface to GDB
by prg318 on Thursday April 04, 2013 @10:20AM
(#5492794)
I am also familiar with the --tui switch for GDB and I'm wondering how this project is different. What does this project provide that gdb's tui mode does not? Can anyone that has used this expand upon why one would use cgdb over gdb's --tui mode?
Re:Cgdb: a lightweight curses (terminal-based) interface to GDB
by jlhonora on Thursday April 04, 2013 @10:37AM
(#5492895)
With --tui there's no syntax highlighting or vim shortcuts. That's enough for me to prefer cgdb over gdb --tui.
Update: I see it has scrollable gdb history, great feature!
Re:Cgdb: a lightweight curses (terminal-based) interface to GDB
by fafner on Thursday April 04, 2013 @10:14AM
(#5492751)
I don't think there is a reason. GUD is very powerful and integrates well within Emacs. cgdb rather seems to be designed for vi users who don't want a debug interface in their editor.
http://sourceware.org/gdb/onlinedocs/gdb/TUI.html
That key sequence is emacs for switch to other window. If you're an emacs user but use gdb in the console it's the kind of thing you'll discover by accident sooner or later.
Would there be a good reason for me to switch to cgdb?
http://pyclewn.sourceforge.net/