-
-
Notifications
You must be signed in to change notification settings - Fork 18
feat(watches): expand variables #49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
an improvement (I think) it's getting usable
203906f to
9c233df
Compare
By removing the `evaluate` listener, we redraw less often. Next step is to get rid of the `variables` listener
This comment was marked as resolved.
This comment was marked as resolved.
Thanks! That should be fixed in the latest commit!
What are you referring to? What did you do and what do you expect to happen with the hover? |
|
Dude that is hilarious, I thought my bug was wrong so I deleted it, you fixed it so fast. Thanks!! |
This comment was marked as resolved.
This comment was marked as resolved.
|
Re: Hover In the original Dap UI plugin, you can hover on a variable to see its value. https://github.com/rcarriga/nvim-dap-ui For context, I'm using AstroNvim with the community plugins (so behind the scenes I'm thinking they remove some functionality). |
Can you try using
Fortunately, nvim-dap offers a built-in hover! You can give a try with: require("dap.ui.widgets").hover() |
This did the trick |
|
I'm approving the PR (not worth much, I am not a lua developer), but going take this for a spin in my day job and point out things I find in the Issues tab |
I opened this plugin while running the debugger: https://github.com/kndndrj/nvim-dbee When I closed that buffer, the above error got thrown Also other strange things start happening: |
It's been a while since I used nvim-dbee, but IIRC it's really awkward at handling tabs. They must be closing the tab containing nvim-dap-view's windows, which is not handled properly. NOOPing in such cases is an easy alternative. This change, however, is unrelated to this PR. Since it also affects other views (scopes + REPL + Console), I'll solve this issue soon after merging. |
After 9d620a7, can you confirm you're no longer having the aforementioned issue? If the issue persists, can you open a new issue with steps for reproduction? |
It does still persist, but it also isn't a deal breaker. Loving the changes so far and made this my daily driver for debugging. |
Can you please open a new issue? Try to reproduce the issue without nvim-dbee |


Closes #33
TODO
Bugs
Same as #31, fixed by using
scopesinstead ofevent_stoppedMay resolve that in a follow-up PR.It's very that's caused by calling
watches.show()too often.Workaround: 98363cf