Comments (8)
@pocco81 Installation passed but I can't debug most probably because I don't know what I am doing its my first time using DAP. Are my assumptions correct?
You need to have mfussenegger/nvim-dap
, Pocco81/DAPInstall.nvim
and debugger of your choice installed.
Have this in your lua config which will load configs for installed debuggers maintained by this repo. Great for people who don't know what they are doing (me).
local dap_install = require("dap-install")
local dbg_list = require("dap-install.debuggers_list").debuggers
for debugger, _ in pairs(dbg_list) do
dap_install.config(debugger, {})
end
Then run :lua require'dap'.continue()
and you should be good right?
If thats the case I am getting
I was prompted to enter built .dll path which I think I entered correctly.
The minimal debug check should be easy to do even when you are not .net dev here are instructions if you ever wanted to do that.
- Download .net sdk
- Create hello world project
dotnet new console -o DapDebugTest
cd DapDebugTest
anddotnet build
to build debug dlls ordotnet run
to restore (something like npm install) + build + run
With that being said feel free to ping me in the future with .net related stuff I'll be happy to help. This project is great it has same feel as https://github.com/kabouzeid/nvim-lspinstall nobody wants to fiddle with setting lsp or debug configs when vscode from which many people are moving to nvim has it set up by default or one "install" click away from their extension store. Nvim is getting closer to same experience thanks to projects as yours which are super valuable but at the same time exhausting to maintain as one name change in release file breaks whole debugger install with no fault of yours so you are more likely to collect issues than PRs so thanks for this project 👍
from dap-buddy.nvim.
@pocco81 Just letting you know that installation now indeed passes on macos.
from dap-buddy.nvim.
Fixed! Btw, I don't do any .NET dev so if you could report back to see if the default config works it'd be awesome!
from dap-buddy.nvim.
Are my assumptions correct?
Yep, you did everything correctly.
If thats the case I am getting
My bad, sorry! this was caused because I passed the wrong param to the degubber ("file"
instead of ${file}
), just fixed it. Could you test it and report back again so that we can mark it as "tested" in the debuggers list?
Edit: so after reading about this debugger over at nvim-dap's wiki it seems like they just pass the string "file"
as a parameter to the debugger:
What I'm not sure about it whether we should pass the current file to that or the string "file"
itself. But again, if we were supposed to pass the file itself then ${file}
should work just fine as mentioned in the documentation.
Could you test it? 👍
Nvim is getting closer to same experience thanks to projects as yours which are super valuable
Thanks man! I really appreciate it :) Yeah it's hard to maintain/develop projects like this. Sure the core is done and can be improved over time, but without the debuggers themselves it's kinda useless and since we are talking about debuggers I can't test every single one them and small errors like this one above (passing a wrong param in the debugger's config) can be overlooked.
I'm currently working on MerelyFmt.nvim btw, which has the goal of making formatter/formatting code accessible and without too much hassle. Similar to how DAPInstall.nvim makes debuggers/debugging more accessible.
from dap-buddy.nvim.
@pocco81 I am on mac and it seems linux version is hardcoded in download link and for latest version of netcoredbg
there isn't even mac version for some reason while older releases have it so I downloaded release with mac version still present and extracted it into /Users/kolpav/.local/share/nvim/dapinstall/dnetcs_dbg/netcoredbg
on first run I also needed to allow it in "Security & Privacy" after that it seems to be working. MerelyFmt.nvim
looks really cool good luck with it.
from dap-buddy.nvim.
Could you pass me the commands you used to install the debugger?
I also needed to allow it in "Security & Privacy" after that it seems to be working
Sadly I think that's out of the scope of DAPInstall.nvim.
from dap-buddy.nvim.
There are no commands it was done manually I downloaded 1.2.0-786 for mac and put in place where DAPInstall
expects to find runnable netcoredbg
.
Sadly I think that's out of the scope of DAPInstall.nvim.
Sure it wasn't meant as request I just wanted to provide all the steps I needed to take.
from dap-buddy.nvim.
Okay, DAPInstall should now be able to detect the OS accordingly and fetch the appropriate archive 👍
from dap-buddy.nvim.
Related Issues (20)
- Typescript is not supported for nodejs HOT 3
- Use system package in debugpy HOT 5
- Synchronous adapter installation HOT 1
- `ccppr_lldb` insists I do not need to install it HOT 1
- how to use iwth rust-tools.nvim?
- Error occur in using codelldb
- cannot step_into python library code [justMyCode option maybe] HOT 1
- DIInstall crashes nvim
- `:DIInstall ccppr_vsc` complains wget is missing URL HOT 4
- How do you actually run the debugger 😅 HOT 3
- nodejs configuration is not working
- No configuration found for 'c'
- Bash debugger implementation discussion
- Multi-install debuggers 🦆🦆🦆🦆
- require "dap_install" doesn't find anything HOT 3
- Add firefox debugger
- Migration from DAPInstall.nvim HOT 12
- Can not find the dependencies. HOT 2
- Beginner's documentation needed HOT 2
- attempt to index field 'info_window' (a nil value)
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 dap-buddy.nvim.