Comments (17)
Something changed with the priority of debugging icons. I don't know if that comes from debugpy itself or somewhere else. Essentially the LazyVim statuscolumn shows icons based on priorities. It will always show the highest priority icon (i.e the LSP error icon always has higher priority than some other icon). Since the icons appear in the same column (left from the numbers) only one will appear at the same time. That's how Lazyvim statuscolumn operates.
This is how it looks for me. The yellow arrow that shows the point you're at didn't use to be there (either it didn't exist or it had lower priority than the debugging icon). There's not much from LazyVim side to be done about this, because in the next line you can see the second breakpoint that I set appear correctly.
from lazyvim.
Hi @dpetka2001
I have copied your code but still not seeing the icons;
I have added two breakpoints., one for each print inside the function.
from lazyvim.
Can you try with a fresh LazyVim starter template
1. `mkdir ~/.config/lazytest`
2. `git clone https://github.com/LazyVim/starter ~/.config/lazytest`
3. `NVIM_APPNAME=lazytest nvim` and wait for the installation to complete
4. Restart Neovim with the command provided in step 3 and install from `:LazyExtras` only `lang.python` and `dap.core`
5. Restart Neovim with command from step 3 and set breakpoints in a python file like you said
Do you observe the same behavior?
For cleanup
rm -rf ~/.config/lazytest
rm -rf ~/.local/share/lazytest
rm -rf ~/.local/state/lazytest
rm -rf ~/.cache/lazytest
from lazyvim.
Done, testing confirmed the issue. Breakpoint icons are not present with this bare minimum install.
In addition, when debugging i get an error that is not present when working with my original nvim:
../.local/share/lazytest/lazy/nvim-dap/lua/dap/session.lua:1420: Error running /home/joe/.local/share/lazytest/mason/packages/debugpy/venv/bin/python: ENOENT: no such file or directory
from lazyvim.
What are the contents of ~/.local/share/lazytest/mason/packages/debugpy/venv/bin/
directory?
from lazyvim.
I just noticed that you're using WSL. Do you happen to have a bare Linux OS where you can test if the same behavior occurs?
from lazyvim.
My old laptop with ubuntu 22.0.4 and neovim 0.9.5 worked ok
seems to be WSL2 specific or Neovim 0.10 specific
from lazyvim.
I performed a New test on a different machine: a desktop computer with Windows 11, Ubuntu WSL2. Neovim 0.10
Same results, seems to be an issue related to WSL2 and Neovim 0.10
from lazyvim.
Can you test with Neovim 0.9.5 in your WSL Ubuntu?
from lazyvim.
Hi @dpetka2001 , managed to install bob neovim version manager and tested with version 0.9.5
Icons a bit small but ok. Definitely is a 0.10 issue.
from lazyvim.
Did you previously install 0.10 via bob
as well? If not, pls could you also try with Neovim nightly installed via bob
? It could be just a package thing about how Neovim was built from the source that you used to install it.
from lazyvim.
confirmed. No matter the way you install neovim. If version is 0.10 and WSL2: no breakpoint signs
from lazyvim.
I think there is something going on beyond 0.10.0 on WSL2. I am running the latest LazyVim on MacOS Sonoma 14.3 and seeing the same issue with both the brew installed current release which is 0.9.5 and with the brew --head release which is the nightly of 0.10.0.
It is worth noting that before moving this week to LazyVim, using a hand rolled set of configs, the identifiers in the gutter were working without an issue.
from lazyvim.
Not sure what's it's worth, but I am experiencing the same issue.
Running Ubuntu 22.04
Nvim 0.10.0-dev-777
LazyVim 10.12.0
With my NVChad setup, I do see the Breakpoint...
from lazyvim.
And I did`t see any diagnostics icon in neovim0.9.5 + arch-wsl , maybe is a same problem as above.
If I only open a single c-file, all statuscolumn icon are ok
from lazyvim.
And I did`t see any diagnostics icon in neovim0.9.5 + arch-wsl , maybe is a same problem as above.
If I only open a single c-file, all statuscolumn icon are ok
fixed by:
#1035
from lazyvim.
This did not fix it for me...
from lazyvim.
Related Issues (20)
- bug: Unable to mix Deno and non-Deno files in the same workspace HOT 3
- feature: Toggle conform formatting HOT 5
- feature: use blame.nvim instead of telescope blame HOT 1
- bug: "Fix clangd offset encoding" doesn't work, still "utf-8" in C/C++ buffer HOT 23
- bug: confirming completion triggers rust-analyzer diag HOT 4
- Bufferline not anymore working in LazyVim HOT 13
- feature: configurable lualine path trimming HOT 2
- feature: When a prompt is triggered while typing, the prompt panel appears transparent. Is it possible to add an option to prevent it from becoming transparent? HOT 2
- bug: mason.nvim stopped working HOT 5
- bug: Got unexpected error while installing LazyVim on WSL
- bug: Got unexpected error while installing LazyVim on WSL HOT 4
- feature: Add YAML schema selection functionality to YAML extra HOT 1
- Has the keymap `<leader>uh` been removed? How do I get the Inlay Hints feature? HOT 1
- bug: new fresh install on windows hangs at Treesitter compilation step with zig HOT 4
- bug: neo-tree does not make directory current working directory when I click . on that directory HOT 3
- NeoTree & Telescope open in wrong CWD HOT 12
- LazyVim Profile, maybe something is wrong? HOT 2
- bug: HOT 3
- bug: HOT 2
- feature: Toggle ruby blocks HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lazyvim.