by alcover · 1y ago · 0 comments
> gdb(..) smashing tui with app output
this got me losing my mind. How/why propose this tempting TUI mode when the result looks like a broken arcade game ??How do you people comfortably debug C in Linux ? I know VSCode looks nice but by principle I can't accept to use such a beast to basically edit code..
same way I debug everything, everywhere: logging.
I just got comfortable using gdb/lldb from the terminal. Once you get used to it, it's fine (albeit not pretty).
Before I switched from emacs I had an equivalently good setup with dap-mode.
Also not all apps write to stdout/stderr by default.
> How do you people comfortably debug C in Linux ?
It depends on what comfortable is for you. Most of my pc experience is terminal and browser and this is comfortable for me. I just use gdb for debugging. Sometimes trying lldb