Best way to remotely debug a C # mono application running on Linux with Visual Studio 2013

I am considering developing several console / service applications for Linux using Mono C #.

The preferred development environment is Windows with Visual Studio 2013.

Are there any solutions for remotely debugging a Mono C # console process running on Linux with Visual Studio 2013?

In an ideal solution, a simple F5 will deploy assembly output to a remote linux host, run the application on the host, and then attach the debugger so that I can locally use all the standard Visual Studio 2013 debugging capabilities (breakpoints, stacktrace, viewport, etc.)

Is this currently possible? This add-on here ( http://www.giesswein-apps.at/mono ) seems like a nice solution, but it looks pretty new, and I can’t say if it is only for RaspberryPi.

I understand that Xamarin provides cross-platform mobile development solutions, but do they have any solutions that could facilitate the development of C # Linux?

+6
source share
1 answer

The MonoDebugger add-in that you linked definitely works on your PC, so it's not limited to RaspberryPi. I tried this, but as you said, it is still quite new and I found some errors, for example. and step by step while .

Debugging a remote Mono process should also be possible with MonoDevelop / Xamarin Studio, but apparently this is not something you can do out of the box: http://tirania.org/blog//archive/2013/Oct.html

+1
source

Source: https://habr.com/ru/post/975236/


All Articles