2 ms·
With nvim-dap-ui you can evaluate an expression by selecting it, and it would try to evaluate anything custom you do in the editor that wasn't in the original c
by shmerl 2y ago
With nvim-dap-ui you can evaluate an expression by selecting it, and it would try to evaluate anything custom you do in the editor that wasn't in the original code.
Try something like this:
:lua require('dapui').eval()
For running to the current cursor:
:lua require('dap').run_to_cursor()
Assign that to keys that you want.
It works with gdb's DAP adapter.