-
-
Notifications
You must be signed in to change notification settings - Fork 35
DAP support visual basic dotnet
In order to debug your programs, you have to compile them as described next
This is only available if your project has a .vbproj
file. Compiling with the options Build and run dotnet
or Build dotnet
will automatically generate the necessary runtimeconfig.json
file. So the only thing you have to do is to insert a breakpoint on neovim, open DAP
, and select the .dll
file that has been generated along with your .exe
.
For more info read DAP wiki.
Please note that this section has nothing to do with compiler.nvim. I'm documenting this to make your life easier. To debug visual basic dotnet with DAP you have to:
- Install the package
netcoredbg
in your system - Setup
DAP
for dotnet
Compile your program with Build dotnet
, add a break point to your code, and then run DAP
. You will see something like this.
Congratulations, now you can compile and debug visual basic dotnet.
- Note that mason installs the debugger for you. You don't need to install any system dependency.
- If you find any issue while configuring DAP, run
:DapSetLogLevel trace
and:DapShowLog
to find the reason.