top | item 5492376

Cgdb: a lightweight curses (terminal-based) interface to GDB

51 points| gioele | 13 years ago |cgdb.github.com | reply

9 comments

order
[+] crowell|13 years ago|reply
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.

http://sourceware.org/gdb/onlinedocs/gdb/TUI.html

[+] Ogre|13 years ago|reply
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.

[+] prg318|13 years ago|reply
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?
[+] kleiba|13 years ago|reply
I do the occasional C++ debugging, and use gud-gdb in Emacs for that. I'm comfortable with Emacs, but I'm still a beginner when it comes to gdb.

Would there be a good reason for me to switch to cgdb?

[+] fafner|13 years ago|reply
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.