nvim-gdb
nvim-gdb copied to clipboard
wanted implementation strategy to load and restore debug points
My suggestion would be to steal the functionality from PackerRestore and PackerSnapshot.
Gdb commands to store and load breakpoints between sessions are rather trivial and can be used as server to not clutter the history:
- server source tmp
- server save breakpoints tmp
A dumb way would be to use
doing it dumb: $HOME/.local/share/nvim/nvim-gdb .. dir_absolutpath .. user_cmdwindow_selection with
dir_absolutpath = vim.fn.setreg('+', vim.fs.dirname(vim.api.nvim_buf_get_name(0))).
Closely related is #184.