nvim-gdb icon indicating copy to clipboard operation
nvim-gdb copied to clipboard

wanted implementation strategy to load and restore debug points

Open matu3ba opened this issue 3 years ago • 1 comments

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))).

matu3ba avatar Nov 07 '22 20:11 matu3ba

Closely related is #184.

matu3ba avatar Sep 08 '24 15:09 matu3ba