Nicolás Brailovsky


A modern blog

gdb: graphic (tui) mode

author Posted by: nico on date Sep 22nd, 2009 | filed Filed under: C++, Linux, Programming
A little known fact about gdb is that you can use it in graphics mode, called TUI. Yes, you can obviously use DDD or a similar front end but that’s not even nearly as cool as using a console based GUI (!), is it? 343px-Escudo_de_Tui.svg

The easiest way is to start gdb like this:


gdb -tui

That will display the usual gdb console plus a code listing, similar to the code listing you get using the “list” command but shown in another window. Alternatively you can press C-X C-A (both, in that order) while in gdb to switch between TUI mode and back.

Don’t know enough about gdb? Read http://beej.us/guide/bggdb/, a great gdb intro.

     Add A Comment

trackback Trackback URI | rsscomment Comments RSS