~skeeto/public-inbox

1

Re: Assertions

Aurélien Gâteau <mail@agateau.com>
Details
Message ID
<e6dda61c-91eb-4c4c-93dd-d710faf7f36f@www.fastmail.com>
DKIM signature
missing
Download raw message
> (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.)

Maybe you can try [cgdb](http://cgdb.github.io/)? It's quite old, but I think it does what you are looking for: a thin wrapper on top of gdb, so you can use all gdb commands while seeing the relevant source code in the top panel.

Re: Assertions

Details
Message ID
<20220629204443.g3dds5uoxyq773p3@nullprogram.com>
In-Reply-To
<e6dda61c-91eb-4c4c-93dd-d710faf7f36f@www.fastmail.com> (view parent)
DKIM signature
missing
Download raw message
Thanks for pointing this out. I expected something like GDB's own TUI 
mode, and initially that even seemed to be the case, but overall it works 
better. In the GDB TUI, program output interferes with the TUI, and I find 
myself constantly repainting the display (C-l). It seems cgdb is more like 
a terminal multiplexer, and program output doesn't interfere (as much) 
with the display.
Reply to thread Export thread (mbox)