Comments (6)
The call to hover
do give some neat result actually, you are right :
from one-small-step-for-vimkind.
The configuration looks fine although I would suggest using the new one available in the README. It is shorter and allows you to connect without entering the port when connecting with launch()
. With run_this()
it doesn't make a difference as you don't require one anyway.
It's suprising to see that you can get the virtual annotations with values but not inspect the values. What function of nvim-dap
do you use for inspecting? Not sure about active watches, this is maybe not supported.
from one-small-step-for-vimkind.
For the record, I tried with both launch()
(and thus, the two-nvim windows trick), and run_this()
, both give the same result.
In order to get evaluations, I use the eval
function of dapui, that I call either with a parameter (a user input) or not, in which case it just evaluates what is under my cursor.
Should I take a look at what nvim-dap provides directly ?
from one-small-step-for-vimkind.
from one-small-step-for-vimkind.
I see the issue now, I didn't implement context hovers which is clearly said that it's not supported in the osv log 😄 (not blaming you of course) I will see if I can implement that so you can use nvim-dap-ui
as well.
from one-small-step-for-vimkind.
I've added a crude implementation of context hovers, let me know if this works now. Of course, choose which ever suits you best (dapui.eval or dap.ui.hover).
from one-small-step-for-vimkind.
Related Issues (20)
- Debug adapter disconnected HOT 4
- Is there anyway to prevent the debugger from entering outside projects? HOT 7
- Is port number correct? HOT 1
- Any instruction on how to get the debugger going using LunarVim? HOT 12
- Can dap continue launch the lua file? HOT 1
- Missing line field in StackFrame, causes errors in Vimspector HOT 1
- Print value of global variable? HOT 2
- How to debug key mapping or auto commands HOT 5
- How to debug Lua scripts in Unreal Engine? HOT 1
- Cannot launch with another rpc client HOT 4
- No response or event received HOT 3
- Get error when restart session HOT 1
- Plugin does not support wrapped `nvim` executable? HOT 6
- nvim gets spawned recursively? HOT 4
- Repl evaluate doesn't have access to function upvalues HOT 2
- Frames for pre-compiled sources report wrong path/line/column HOT 4
- Debugger couldn't connect to 127.0.0.1:8086: ECONNREFUSED while debugging lazy plugins HOT 2
- Stdout (print, io.write) doesn't seem to work HOT 3
- Launching osv via cli args HOT 2
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 one-small-step-for-vimkind.