MonoDevelop does not have built-in .NET Core debugging support, due to the fact that Microsoft does not license its own .NET Core debugger (vsdbg) to anything other than Visual Studio/Visual Studio Code.
This extension uses the open source .NET Core debugger provided by Samsung to fill the gaps.
The code is released under MIT/X11 license.
Copyright (C) 2019 LeXtudio Inc. (http://www.lextudio.com)
Please use with caution and report issues here.
- Open
Extension Manager
, and switch toGallery
tab. - Choose
.NET Core support for Mono.Debugging
underDebugging
category, and clickInstall...
to install it. - Download precompiled netcoredbg binaries from https://github.com/lextudio/monodevelop.netcoredbg/releases.
- Extract the files from the ZIP package to your user folder
~/netcoredbg/bin
. Run~/netcoredbg/bin/netcoredbg --help
to confirm everything works. (Note that on Windows you should copy to My Documents).
Then you should be able to debug .NET Core projects in MonoDevelop.
Note that you can also use Preferences
to select Samsung .NET Core debugger
location, if you don't want to use the default path,
- Some breakpoints might not break.
If you like, you can debug the code on your own.
- Open
Extension Manager
, and switch toGallery
tab. - Choose
AddinMaker
underExtension Development
category, and clickInstall...
to install it. - Clone this repo to your local drive, and open
MonoDevelop.Debugger.DotNetCore.sln
in MonoDevelop (or Visual Studio for Mac). - Debug the project, so a second instance of MonoDevelop is launched. You can set break points to follow the workflow.