Showing posts with label gdb. Show all posts
Showing posts with label gdb. Show all posts

Tuesday, May 20, 2008

GDB hidden gem

Well at least it was hidden to me :D

Sometimes it's difficult to keep in view the surrounding lines of code when you are using GDB. list command helps but it's not that user friendly. So the other day a coworker told me about GDB TUI. You can enable it with Ctrl+X A and voilĂ  you get the full listing of the code in a nice browseable view on the top :-)

And a screenie for your viewing pleasure: