-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Did you check docs and existing issues?
- I have read all the docs.
- I have searched the existing issues.
Neovim version (nvim -v)
0.11.1
Operating system/version
Ubuntu 24.04
Describe the bug
The UI only showed one time, and never shows properly. And when it shows, cannot quit with 'dq', so I cannot 'undo' with 'u'.
now, every time I start a new debug session, it shows as below:
a blank window under coding script and a terminal buffer appears. The cursor color changes though.
I used nvim-dap-ui with LazyVim default settings before and it worked well.
and the breakpoint icons also changed to letter B or C (conditional breakpoints), and it changed back after I removed debugmaster and re-enabled nvim-dap-ui
Not sure if that is due to my settings or it is a bug from debugmaster.
Steps To Reproduce
Here is my settings now:
return {
{ "rcarriga/nvim-dap-ui", enabled = false },
{
"mfussenegger/nvim-dap",
config = function()
local dap = require("dap")
end,
},
{
"miroshQa/debugmaster.nvim",
config = function()
local dm = require("debugmaster")
vim.keymap.set({ "n", "v" }, "<leader>dd", dm.mode.toggle, { nowait = true, desc = "Toggle DebugMaster" })
end,
},
}Expected Behavior
every time, the debugmaster UI can shows properly when pressed dd.
Repro (Ignore if not applicable or if the issue is easily reproducible.)
-- set stdpaths to the current directory
local initlua_root = vim.fn.fnamemodify(debug.getinfo(1).short_src, ":p:h")
for _, name in ipairs { "config", "data", "state", "cache" } do
vim.env[("XDG_%s_HOME"):format(name:upper())] = initlua_root .. "/" .. name
end
-- bootstrap lazy
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.uv.fs_stat(lazypath) then
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
end
vim.opt.rtp:prepend(lazypath)
vim.g.mapleader = " "
require("lazy").setup({
spec = {
{
"mfussenegger/nvim-dap",
config = function()
local dap = require("dap")
-- Configure your debug adapters here
-- https://github.com/mfussenegger/nvim-dap/blob/master/doc/dap.txt
end,
},
{
"miroshQa/debugmaster.nvim",
config = function()
local dm = require("debugmaster")
vim.keymap.set({ "n", "v" }, "<leader>d", dm.mode.toggle, { nowait = true })
vim.keymap.set("t", "<C-/>", "<C-\\><C-n>", { desc = "Exit terminal mode" })
end
}
},
})Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
