4 ms·
I'm a big fan of cgdb; https://cgdb.github.io/ https://cgdb.github.io/ Works great for native and cross compiled apps
by 2bluesc 6y ago
I'm a big fan of cgdb;
https://cgdb.github.io/ https://cgdb.github.io/
Works great for native and cross compiled apps
- rightbyte 6y agoThat looks like magic. GDB should really add such functionality. It allready has dependency on curses. Edit: Oh 'gdb -tui' ... I should read the docs more ofent.
- cipherboy 6y agoThere's also shortcuts to enter and leave tui mode: https://sourceware.org/gdb/current/onlinedocs/gdb/TUI-Keys.html https://sourceware.org/gdb/current/onlinedocs/gdb/TUI-Keys.h... (I never start with gdb -tui but usually end up there for a little bit). As the author pointed out, this hijacks arrow keys, so you have to use readline editing: https://sourceware.org/gdb/current/onlinedocs/gdb/Readline-Bare-Essentials.html#Readline-Bare-Essentials https://sourceware.org/gdb/current/onlinedocs/gdb/Readline-B... https://sourceware.org/gdb/current/onlinedocs/gdb/Readline-Movement-Commands.html#Readline-Movement-Commands https://sourceware.org/gdb/current/onlinedocs/gdb/Readline-M... Fortunately, there's a lot of stuff that uses readline so it is all very portable.
- mkhnews 6y agoI agree, cgdb is great. I've added some small things I want to my fork of cgdb for navigating windows etc.