[Mono-dev] Debugging on a remote (non-Android) Linux Device

Nikita Tsukanov keks9n at gmail.com
Wed Sep 10 07:19:35 UTC 2014

$ monodevelop

Open the project you want to debug, Run->Run With...->Custom Command Soft

Then run mono on your remote machine with

2014-09-10 9:22 GMT+04:00 Bryan Crotaz <bryan.crotaz at silvercurve.co.uk>:

> I have exactly the same issue on raspberry Pi. SSL fails about 50% of
> the time. And I don't know how to do remote debug either.
> Bryan Crotaz
> Silver Curve
> > On 10 Sep 2014, at 03:45, Chris Tacke <ctacke at opennetcf.com> wrote:
> >
> > I have a Mono project that mirrors a desktop project (same code, same
> projects, etc).  Most development and debugging is done in Visual Studio
> and the Linux/Mono deployment is done on the build server with a
> command-line call to compile the Mono build.
> >
> > Generally speaking this all works just fine.
> >
> > Occasionally, however, we find behavioral differences between the .NET
> Framework and Mono.  For example, right now I have code that works fine on
> the desktop, but under Mono it's failing (it's a socket call out to SSL,
> and yes, I've added a handler for
> ServicePointManager.ServerCertificateValidationCallback as a test but it
> still fails).
> >
> > When I run into these types of problems, I use Xamarin Studio to add in
> Console.Writeline calls, build, copy via USB, reiterate cycles and try
> narrowing the problem down.  It's extremely slow and painful.
> >
> > Xamarin Studio can connect and live debug against iOS and Android.  Is
> there a way to configure Xamarin Studio (or Visual Studio) and my Linux
> device to do the same?  I would suspect that someone out there has tried
> debugging against a Raspberry Pi or something and this would be an
> analogous situation.
> >
> > If it matters, the Mono build I'm using is not off-the-shelf - I had to
> compile it myself since we're targeting the i586-cored Quark processors.
> >
> > I used to have a license for both Xamarin iOS and Xamarin Android, but
> really we don't target those devices so I let them lapse.  I'm hoping that
> the debugging pieces aren't wrapped up in those.
> >
> > -Chris
> >
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20140910/a2d9e90d/attachment.html>

More information about the Mono-devel-list mailing list