3 ms·
> (I wish GDB could print a source listing around the breakpoint as context, like Delve, but no such feature exists. The woeful list command is inadequate.) I
by deredede 4y ago
> (I wish GDB could print a source listing around the breakpoint as context, like Delve, but no such feature exists. The woeful list command is inadequate.)
I don't know what Delve does, but learning about GDB's Terminal User Interface (TUI) has been a blessing for me in that regard.
- Galanwe 4y ago> I wish GDB could print a source listing around the breakpoint as context `list`
- deredede 4y agoTe article mentions `list` as being inadequate, and I tend to agree. It needs to be typed in repeatedly, breaking the flow each time, and replacing the "last command" executed with an empty line.
- wavesquid 4y agoTry gdb-dashboard: https://github.com/cyrus-and/gdb-dashboard https://github.com/cyrus-and/gdb-dashboard