-
Notifications
You must be signed in to change notification settings - Fork 167
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
[IDEA] c# debugging #96
Comments
It probably is possible, but very complex and I don't really have any interest personally in building this as I very rarely use a debugger. |
I've been toying with this idea also. There are a lot of debuggers I haven't been able to find any command line debugger for C#, but Maybe one of these implementations could be plugged into the OmniSharp |
Apparently there is a command line debugger officially in the mono project (Mono Hard Debugger). As there are plugins to use gdb functions directly in Vim, I think this should be possible with mdb/gdb for mono too. After a quick search for vim gdb plugins I got the following (just as reference, if someone would decide, to implement debugging ;) ): |
I looked around and found there are ready libraries for plugging in a debugger. |
@nosami edit: perhaps a separate ticket should be opened. What do you think? |
With .NET Core 1.0 released I have begun to make the move away from Windows. While I am new to the other ecosystems out there I must say that I am really enjoying my development in vim without all the overhead of VS. I too would love to see debugging support brought to omnisharp-vim. At least the .net core 1.0 projects. |
If MS changes the license of the vsdbg, maybe it can be integrated, for now the can be used only with VS Code, Visual Studio and Xamarin studio |
In case anyone here is still interested in debugging C# from vim, I also was interested in this and due to the licencing on Microsoft's vsdbg as mentioned above, I stumbled accross an OSS debugger built by Samsung: https://github.com/Samsung/netcoredbg. |
Definitely interested - please keep us posted on your progress! |
Just an update for anybody interested. With the new stdio stuff, my code for this is not really relevant anymore. Before restarting based on the awesome new stdio stuff, I'm going to look into adding support in https://github.com/puremourning/vimspector. They note the ms licensing stuff, but I'm wondering if I can shim in the samsung debugger and get something useful. |
@jpfeiffer16 I spoke to puremourning in #vim on freenode (IRC) about this a while back, before the samsung debugger came out, and yes he was not interested at the time at working against the MS license. If you can get something working with the samsung one I'd love to be a guinea pig. |
After messing around with vimpsector for a bit and some help from puremourning, I got it working and it's great! There are some rough edges I've bumped into from time to time with large variables, but for the most part I'm blown away with how well it works! |
PR here if you're interested @nickspoons : puremourning/vimspector#36 |
Magic, I can't wait to try it! |
Yea. It's a gem of a plugin. So glad I came across it. |
Debugging dotnet core in vimspector works great. There have been a lot of changes to the landscape since this issue was opened, we now have LSP and DAP for language servers and debug adapters. As OmniSharp-vim is closely tied to the OmniSharp-roslyn language server, I don't think it makes sense to include debugging support here, now or in the future, so I'll close this very old issue now. |
I pretty much like the way one can debug in Visual Studio...
Is it possible with mono under linux/Max OSX or the c# stuff under windows to get some of these awesome debugging features into vim?
The text was updated successfully, but these errors were encountered: