dap-info
July 29, 2023 ยท View on GitHub
dap-info is a lua plugin for Neovim to help show info from breakpoints created using nvim-dap
Install
with lazy.nvim
{
'jonathan-elize/dap-info.nvim',
dependencies = {
"mfussenegger/nvim-dap",
}
}
Setup
require("dap-info").setup({})
Below is the default config, you can change it according to your needs.
require('persistent-breakpoints').setup{
-- options used for virtual text ui
virt_text_opts = {
namespace = "dap-info",
prefix = "โ",
suffix = "",
spacing = 4,
},
}
Usage
:DapInfoNextBp
Goes to the next breakpoint in file and tries to reveal info about it if possible
:DapInfoPrevBp
Goes to the previous breakpoint in file and tries to reveal info about it if possible
:DapInfoRevealBp
Tries to reveal info about the breakpoint on the current line if possible
:DapInfoUpdateBp
Tries to allow you to update a log point message or breakpoint condition for a breakpoint on the line you are currently on.
:DapInfoClearVirtText
Clears virtual text revealing information about breakpoints within current buffer.
:DapInfoShowVirtText
Shows virtual text revealing information about breakpoints within current buffer.
:DapInfoReloadVirtText
Reloads virtual text revealing information about breakpoints within current buffer. (Essentially the same as running DapInfoClearVirtText and DapInfoShowVirtText one after another)