Giter Site home page Giter Site logo

Comments (17)

dpetka2001 avatar dpetka2001 commented on June 3, 2024

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.

2024-02-12_11-44

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.

verajosemanuel avatar verajosemanuel commented on June 3, 2024

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

from lazyvim.

dpetka2001 avatar dpetka2001 commented on June 3, 2024

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.

verajosemanuel avatar verajosemanuel commented on June 3, 2024

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.

dpetka2001 avatar dpetka2001 commented on June 3, 2024

What are the contents of ~/.local/share/lazytest/mason/packages/debugpy/venv/bin/ directory?

from lazyvim.

dpetka2001 avatar dpetka2001 commented on June 3, 2024

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.

verajosemanuel avatar verajosemanuel commented on June 3, 2024

folder contents:
image

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.

verajosemanuel avatar verajosemanuel commented on June 3, 2024

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.

dpetka2001 avatar dpetka2001 commented on June 3, 2024

Can you test with Neovim 0.9.5 in your WSL Ubuntu?

from lazyvim.

verajosemanuel avatar verajosemanuel commented on June 3, 2024

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

from lazyvim.

dpetka2001 avatar dpetka2001 commented on June 3, 2024

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.

verajosemanuel avatar verajosemanuel commented on June 3, 2024

confirmed. No matter the way you install neovim. If version is 0.10 and WSL2: no breakpoint signs

from lazyvim.

pschwartz avatar pschwartz commented on June 3, 2024

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.

weberam2 avatar weberam2 commented on June 3, 2024

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.

WikiLiu avatar WikiLiu commented on June 3, 2024

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.

WikiLiu avatar WikiLiu commented on June 3, 2024

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.

weberam2 avatar weberam2 commented on June 3, 2024

This did not fix it for me...

from lazyvim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.