3 ms·
Gdb: graphic (tui) mode
- njs12345 15y agoThere's also gdb-mode for emacs, if you're so inclined: http://emacs-fu.blogspot.com/2009/02/fancy-debugging-with-gdb.html http://emacs-fu.blogspot.com/2009/02/fancy-debugging-with-gd...
- kaeluka 15y agomade my day! thanks :)
- jzila 15y agoOr you can use cgdb (http://cgdb.sourceforge.net/ http://cgdb.sourceforge.net/), which has syntax highlighting and Vim keybindings.
- bluekeybox 15y agoOh my god, thank you. Have used Vim and gdb for two years and didn't know cgdb existed.
- jimauthors 15y agoAmazing. Dint know about that!
- lallysingh 15y agoThis is a really nice way to debug generated assembly, useful for LLVM hacking.
- erez 15y agoUbuntu/debian has a package called gdbtui which does exactly what gdb -tui does
- jpr 15y agoCan't seem to find the package on Ubuntu 10.10, do I need to enable some repository? EDIT: Apparently it was included in the basic gdb package or something.
- ludwigvan 15y agoIt is a simple script. cat `which gdbtui` #!/bin/sh prog=$(basename $0 tui) dir=$(dirname $0) if [ "$dir" != "." ]; then prog=$dir/$prog fi exec $prog --tui "$@"
- chanux 15y agoNot sure if I'm adding value here but gdbtui also works (article mentions gdb -tui).