Re:Bold Edit: An editor written by power users
by ReleaseCandidat on Sunday August 18, 2024 @04:37PM
(#41285291)
> I know there's a GDB plugin for Sublime but it's a pain to configure.
Which did you try? The one using DAP https://packagecontrol.io/packages/Debugger works the samé as with VS Code. But you need to install Terminus too for it to work.
Re:Bold Edit: An editor written by power users
by alcover on Sunday August 18, 2024 @04:59PM
(#41285459)
Thank you. I tried SublimeGDB. Yours seems nice but also heavy in config and integration into Sublime.
What I'm after is the other way around : an editor around GDB.
> you need to install Terminus
It's not mentionned in the page. How would one know they need it ?
Re:Bold Edit: An editor written by power users
by ReleaseCandidat on Sunday August 18, 2024 @05:16PM
(#41285577)
The only thing I needed to configure are the paths to the executables to debug and their command line arguments.
This is for LLDB, but GDB works the samé, set the type to `gdb`. https://forum.sublimetext.com/t/debugger-for-c/73001/5
This adaptér is used for GDB https://github.com/WebFreak001/code-debug#debug
Somewhere there is a mention of Terminus integration, practically it doesn't work without.
Re:Bold Edit: An editor written by power users
by PhilipRoman on Sunday August 18, 2024 @05:35PM
(#41285697)
There is termdebug for Vim (should be included in Vim package itself) which lets you have a fancy TUI/editor together with the full power of GDB console.
Re:Bold Edit: An editor written by power users
by alcover on Sunday August 18, 2024 @06:11PM
(#41285954)
Thanks, that's more like it. Though I don't fancy having to type `:Break` each time I need a break point. That should be a single click in the gutter.
Re:Bold Edit: An editor written by power users
by hexagonalc on Sunday August 18, 2024 @10:13PM
(#41287203)
The normal workflow for this kind of thing in vim is that you set up some keyboard shortcut that suits you in your personal configuration. Most people aren't manually using command mode for things like this.
I need to edit my code AND set breaks in the same GUI window. There is DDD but it's old and odd looking. Tried Kate also but for some reason didn't like it.