I would like to remote debug a C# console application running on Linux from Visual Studio. Here's what I found so far:
http://www.mono-project.com/Debugger
The Mono runtime implements a debugging interface that allows debuggers and IDEs to debug managed code. This is called the Soft Debugger and is supported by both MonoDevelop, Xamarin Studio and Visual Studio (when the appropriate plugins are installed) as well as the command line SDB client.
Mono provides an API to communicate with the debugger and create your own debugging UIs via the Mono.Debugger.Soft.dll assembly.
The page below discusses some issues of the current MonoVS debugger implementation, but they are all fine with me.
http://mono-project.com/Visual_Studio_Integration
The page also links to the Getting started guide for MonoVS:
http://mono-project.com/GettingStartedWithMonoVS
Which contains a download link for MonoTools:
http://mono-tools.com/download/
However, the download link now redirects to:
http://xamarin.com/download/
Where I'm offered to download Xamarin Studio Starter Edition. Clicking the Pricing link I see that I need at least the Business edition for Visual Studio Support, at $999 per year. Well, no thank you.
This is where I'm stuck. Some specifics of my environment:
Development environment:
Target environment:
You can attach the Visual Studio debugger to a running process on a local or remote computer. After the process is running, select Debug > Attach to Process or press Ctrl+Alt+p in Visual Studio, and use the Attach to Process dialog to attach the debugger to the process.
I found this Visual Studio 2015 extension which works like a charm: MonoRemoteDebugger for Visual Studio 2015
See MonoRemoteDebugger v1.0.4 to fix conflict with Xamarin Visual Studio extension on Visual Studio 2015 update2.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With