3 ms·
GDB has a really nice TUI mode that helps a lot while debugging.
by maCDzP 5y ago
GDB has a really nice TUI mode that helps a lot while debugging.
- interroboink 5y agoWhich, at least for me, needs an initial "C-x C-r" before it starts functioning via the normal "C-x C-a". I think there was some old bug about it, but I was never able to get to the bottom of it. But agreed, TUI mode is handy (:
- beembeem 5y agoThis! I recently discovered this as well and it makes gdb feel like a modern-day debugger like windbg. `C-x a` to toggle it on `C-l` to re-draw screen when stdout gets spit out and messes up TUI `C-p/n` for scrolling gdb history `up/down` for scrolling code
- mmoskal 5y agoAlso `C-x o` switches focus between the code and command windows, which changes function of up/down arrows (scrolling/command history).
- jcelerier 5y agoWhy not just open a proper IDE like QtCreator ? You can just use it as a gdb UI ("Debugging > Debug external application" or something like that) if you want and you get all that + editable text, a tree view for variables...